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 |
---|---|
38 | |
15 | |
13 | |
12 | |
7 |
User | Count |
---|---|
49 | |
43 | |
23 | |
19 | |
18 |