Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
For example I have a column with 4 different types of values : 'Seen' , 'Read Reviews', 'Added to Cart', 'Bought'. These may be present in any number, together totalling the number of rows in the data. I want to use a 'Semicircular Guage' to represent the total number of 'Bought' (as the Value) and the total no. of 'Added to Cart' as the Target Value in the guage.
But when I use a 'Visual Filter' and select either of these conditions, the data in the complete visual gets filtered and there is no way I can represent 'Bought' as a percentage of 'Added to Cart' because the no. of rows in both becomes equal.
Any ideas how I can achieve this ? Thanks !!
Solved! Go to Solution.
I think the best way is two measures:
Adds To Cart = CALCULATE(COUNTROWS(Table), Table[Column] = "Added to Cart")
Bought = CALCULATE(COUNTROWS(Table), Table[Column] = "Bought")
Then put AddsToCart as the Target Value and Bought as the Value
I think the best way is two measures:
Adds To Cart = CALCULATE(COUNTROWS(Table), Table[Column] = "Added to Cart")
Bought = CALCULATE(COUNTROWS(Table), Table[Column] = "Bought")
Then put AddsToCart as the Target Value and Bought as the Value
User | Count |
---|---|
59 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
78 | |
62 | |
45 | |
40 | |
39 |