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 have a table that I am having difficulty with. In the below table, my Locations and Plt Cap columns are not summing up because I had to use the Minimum calculation to get the value I want in the rows.
The code that I used for locations is this:
Solved! Go to Solution.
The solution to this lied within adding this code as a seperate measure
The solution to this lied within adding this code as a seperate measure
Assuming [Product Type] is a column of table MyTable, then the following measure would do the job:
Locations = IF(SELECTEDVALUE(MyTable[Product Type])="Candle",5)
Then add the measure to your visual.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
17 | |
16 | |
14 | |
11 |
User | Count |
---|---|
41 | |
24 | |
22 | |
18 | |
11 |