Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am creating a Pareto chart in Power BI. I have created a new column using the following DAX expressions:
Pareto =
VAR ranking = RANKX('Sheet1','Sheet1'[Sales by Product])
VAR runningsum = SUMX(TOPN(ranking,'Sheet1','Sheet1'[Sales by Product],DESC),'Sheet1'[Sales by Product])
VAR total = CALCULATE(SUM('Sheet1'[Sales by Product]),ALL('Sheet1'))
RETURN DIVIDE(runningsum,total)
ABC Rank =
IF('Sheet1'[Pareto] <= 0.8,"A",
IF('Sheet1'[Pareto] <= 0.9,"B","C"))
Next, I want to adjust the thresholds for ABC Rank using parameters so that they can be dynamically adjusted.
However, I am having trouble getting this to work properly using the new parameter feature in the Modeling tab.
How can I achieve this?
Thank you for your response.
I have attached the sample data I am using.
Best regards.
|
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...