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.
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...
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |