The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
37 | |
14 | |
12 | |
12 | |
8 |
User | Count |
---|---|
50 | |
37 | |
24 | |
22 | |
18 |