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
Hi,
I have a dynamic Top N filter on organizations, and that is presented in one visual. And that works fine.
But now I want all other visuals to be filtered also on these Top N organizations.
But I don't get that to work.
This is my DAX code:
SelectedTopNNumber = IF(HASONEVALUE('TopN'[Top]);Min('TopN'[Top]);10) AntalEval = COUNT('table1'[StatisticKey]) OrgRankByTopN = IF(HASONEVALUE('dimOrg'[OrgName]);RANKX(ALLSELECTED('dimOrg'[OrgName]); [AntalEval])) ShouldOrgBeIncluded = IF([OrgRankByTopN]<=[SelectedTopNNumber];1;0)
Hi @rebecka ,
Power BI accepts measures as filters only at a single visual level, and it does not accept measures as filters at the page level nor at the report level. You can vote this idea to make it coming soon.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Yes, already voted for that idea!
I was wondering if I can fix it with som clever DAX instead...
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.
Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.
User | Count |
---|---|
138 | |
104 | |
75 | |
60 | |
58 |
User | Count |
---|---|
259 | |
130 | |
115 | |
99 | |
79 |