BookmarkSubscribeRSS Feed
DogCat
Calcite | Level 5

I want to create a filter, e.g. " product_id in (select product_id from sales_facts where ....  )", with prompt. Is it able to create such filter in Information map?

1 REPLY 1
AkilanR
Fluorite | Level 6

Let us take a example,

There is a table called products, It consist of dataitem Product_id,Product_name,QTY

and another table sales_fact, Consist of Sales_Id,Sales_person,Product_ID

  • Inner Join above two table with product_id
  • add dataitem only related to products table in the information map selected items.
  • Create a prompt 'Name of the Sales person' and apply to Sales_person in the SALES_FACT table
  • Save the Infomap.

Hope this will resolve your issue

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1104 views
  • 0 likes
  • 2 in conversation