The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
i have two measure that once return a decimal number for each customer,
Create a New Measure for Count: First, you need to create a new measure that counts the occurrences of "pl", "GO", "SI", and "BR". You can use the COUNTROWS function along with FILTER to count rows based on your _RANK measure.
Here's how you can do it:
CountMeasure =
VAR SelectedRanks =
FILTER ( ALLSELECTED ( 'Dimcustomer' ), [YourMeasure] <> BLANK () )
RETURN
COUNTROWS ( SelectedRanks )
Replace [YourMeasure] with your actual measure that generates "pl", "GO", "SI", and "BR".
Create the Pie Chart: Now, you can create a pie chart using the newly created measure.
Format the Chart: You can format the chart as per your preference, such as adding data labels to show the count values, adjusting colors, etc., using the visualization tools available in your reporting tool or Power BI.
With these steps, you should be able to create a pie chart that displays the count of "pl", "GO", "SI", and "BR" categories based on your DAX measures. Make sure to adjust the measure names and column names according to your actual data model.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
18 | |
13 | |
7 | |
5 |