Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Dear Members,
I’m writing for the first time and I’m very new to Power BI. I’m looking for a solution for dynamically adjusting tree-map based on the value selected.
Right now I’m showing top 20 location using Top N filer option instead I want this to be dynamic say I want to see top 25 or 30 sites or say any number. how do I do it.
Basically I want to parameterize the select of top sites by any specified number (top 5 / 10 / 15 / 20 sites).
Please help….
Regards,
Sunil Kerody
Solved! Go to Solution.
Hi, @SKerody ;
Try it.
1.create a what-if parameter as a topn slicer.
2.create a top measure.
TOP =
var _rank= RANKX(ALLSELECTED(financials),CALCULATE(SUM(financials[ Sales]),ALLEXCEPT(financials,financials[Country])),,DESC,Dense)
return IF(_rank<=[Parameter Value],1,0)
3.apply it into Treemap filter.
The final output is shown below:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @SKerody ;
Try it.
1.create a what-if parameter as a topn slicer.
2.create a top measure.
TOP =
var _rank= RANKX(ALLSELECTED(financials),CALCULATE(SUM(financials[ Sales]),ALLEXCEPT(financials,financials[Country])),,DESC,Dense)
return IF(_rank<=[Parameter Value],1,0)
3.apply it into Treemap filter.
The final output is shown below:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 33 | |
| 32 | |
| 31 |