Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I have created ABC Classification for a report using the below measure
Solved! Go to Solution.
Hi @Sarangaku
Measure cannot be placed in the X-axis of the clustered column chart. You need to change ABC Classification to a calculated column.
ABC Classfication = SWITCH (
TRUE(),
[Total Qty Cumulative %]<= 0.8, "A Class",
[Total Qty Cumulative %] > 0.8 && [Total Qty Cumulative %]<= 0.95, "B Class",
"C Class"
)
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your prompt reply! @MattAllington @Ashish_Mathur
Hi @Sarangaku
After calculating the categories, you can use the following dax to calculate how many products each category corresponds to.
Measure =
VAR _calss = SELECTEDVALUE('Table'[ABC Classfication])
RETURN
CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),'Table'[ABC Classfication] = _calss))
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the response, but in my case ABC Classification is a measure, not a column
Hi @Sarangaku
Measure cannot be placed in the X-axis of the clustered column chart. You need to change ABC Classification to a calculated column.
ABC Classfication = SWITCH (
TRUE(),
[Total Qty Cumulative %]<= 0.8, "A Class",
[Total Qty Cumulative %] > 0.8 && [Total Qty Cumulative %]<= 0.95, "B Class",
"C Class"
)
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Share the download link of the PBI file.
Sorry, my bad
SUMX(productsTableName, if([Total Qty Cumulative %]<= 0.8, 1))
Try this
SUMX(productsTableName, [Total Qty Cumulative %]<= 0.8, 1)
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 |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |