The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have multiple fact tables (red arrows) connected to one dimension table ('user') in my data model. 'user' table has 'ID' as primary key which serve as foreign key in all the connected fact tables (using column name - 'UserID'). 'jsacm_capmpaigns' contain each unique campaigns details and 'js_main_clicklog_userwise' contains dailywise and userwise daily clicks summary and 'user' table has details of each users. A user can have multiple campaigns and a campaign can have multiple jobs(uniquely listed in 'jobsdatafull' table). Below is the picture for reference.
Now since i have formed a two-way relationship between 'jsacm_campaigns' and 'users' table, filter can flow from 'jsacm_campaigns' to 'users'. But I want to filter the other fact table 'js_main_clicklog_userwise' as well using filters from 'jsacm_campaigns'.
For example, for every campaign in 'jsacm_campaigns' table, i want to filter 'js_main_clicklog_userwise' table, based on below filters:
Some reference to visuals i want to create. Clicking on campaign name should filter the two trend graphs below.
Once i can filter 'js_main_clicklog_userwise' table based on above conditions, i intend to visualise 'js_main_clicklog_userwise' which can be filtered based on above conditions from 'jsacm_campaigns'. Also if possible, i want to drill down campaigns from main page of report filter to another detailed page.
It would be great if someone could help me with this.
Instead of these data model modifications the safer way is to use TREATAS to transfer a filter context from one table to another (unrelated) table.
hi @lbendlin
Thanks for the response.
Could you please explain more about this approach, since i need to use multiple filters on the unrealted table.
Your help is greatly appreciated.
There are good tutorials on the usage of TREATAS - choose one that fits your learning style. You can also look at the queries in the performance analyzer, they make extensive use if it.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
101 | |
94 | |
80 | |
63 | |
56 |
User | Count |
---|---|
248 | |
122 | |
110 | |
77 | |
70 |