Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
I have data like below -
| India | UK | USA | |
| Sports | 5% | 10% | 3% |
| Education | 5% | 10% | 3% |
| Health | 5% | 10% | 3% |
How do I ensure if country filter is selected, "India" is always shown.
Solved! Go to Solution.
Hi @raimon ,
Please create the following table.
Country = CALCULATETABLE ( DISTINCT ( 'Table'[Country] ), 'Table'[Country] <> "India" )
Then create measure:
Measure =
COUNTROWS (
INTERSECT (
VALUES ( 'Table'[Country] ),
UNION ( Country, {"India"} )
)
)
And filter Country column by Measure.
Result:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-kkf-msft I am amazed by the solution. Thank you.
It feels so good to explore new things out there. Empowering to know what all is possible.
Hi @raimon ,
Please create the following table.
Country = CALCULATETABLE ( DISTINCT ( 'Table'[Country] ), 'Table'[Country] <> "India" )
Then create measure:
Measure =
COUNTROWS (
INTERSECT (
VALUES ( 'Table'[Country] ),
UNION ( Country, {"India"} )
)
)
And filter Country column by Measure.
Result:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
this is impressed!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.