Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a Task table for the datasource in PowerBI dashboard. This can be an example for Task table structure and data:
ID Category Type
1 1 Main
2 1 Sub
3 2 Main
4 2 Main
5 2 Sub
Now, in Power BI, I added 2 table visuals each have visual filter Type, table visual #1 would only show Type=Main and table visual #2 would only show Type=Sub. What I want is when I click Category=1 in visual#1, visual#2 would show data with type=Sub and Category=1, but the table would be empty and I guess it's because the filter from visual#1 passes ID and Type also to the visual#2. Is there any workaround for this?
Solved! Go to Solution.
Hi @ja_02,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @pankajnamekar25, for your inputs on this issue.
After thoroughly reviewing the details you provided, I reproduced the scenario again, and it worked on my end. I used it as sample data and successfully implemented it.
outcome:
I am also including .pbix file for your better understanding, please have a look into it:
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
Hi @ja_02,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @pankajnamekar25, for your inputs on this issue.
After thoroughly reviewing the details you provided, I reproduced the scenario again, and it worked on my end. I used it as sample data and successfully implemented it.
outcome:
I am also including .pbix file for your better understanding, please have a look into it:
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
Hi @ja_02
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @ja_02,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @ja_02,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hello @ja_02
Follow this steps
Use a Disconnected Category Table to Filter by Category Only
Create a new disconnected table:
CategoryFilter = DISTINCT(SELECTCOLUMNS('Task', "Category", 'Task'[Category]))
Create a measure to check category match
IsCategorySelected =
VAR SelectedCategory = SELECTEDVALUE(CategoryFilter[Category])
RETURN IF(SelectedCategory = 'Task'[Category], 1, 0)
Apply filters on visuals:
Visual #1 Filter Type = Main and IsCategorySelected = 1
Visual #2 Filter Type = Sub and IsCategorySelected = 1
Use CategoryFilter as a slicer or visual to control both tables.
Thanks,
Pankaj Namekar | LinkedIn
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
User | Count |
---|---|
70 | |
70 | |
34 | |
23 | |
22 |
User | Count |
---|---|
96 | |
94 | |
50 | |
42 | |
40 |