Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.