Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I'm making a report of sales and I use a pie chart to show what product is most sold. Also I put a card to show the number of units sold and I wanna put another one to show the percentage of the product I selected.
For example, in the image above I selected a product with 27.53% of total sales but in the card still appear 100%.
Hope you can help me.
Solved! Go to Solution.
You will need to create a measure for your card along the lines of:
Measure = SUM('Table'[Sales]) / SUMX(ALL('Sales'),[Sales])
Set it to be a %.
You will need to create a measure for your card along the lines of:
Measure = SUM('Table'[Sales]) / SUMX(ALL('Sales'),[Sales])
Set it to be a %.
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
53 | |
50 | |
40 | |
40 |