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 am trying to find a way to sum the total of a measure.
To be clear, this is just a table visualisation of measures! , the first column is just the time from a table. The second column is a measure of working out the maximum possible rate for a 15-minute period, and the last column is the measure. You can see in the below picture that if the second column value is above the target amount in this case 2500, it puts a 1 and if not, it puts a zero this works fine, but I want to know how many times I hit the target, but as its a measure I don't seem to be able to use sum? as this only works on columns in actual tables, not visualisations.
Can anybody help?
Solved! Go to Solution.
@GRN_VPR8, here is my solution.
Change the measure [PAL_25K_Above] to this:
PAL_25K_Above =
SUMX(
VALUES(YourTable[Time]),
IF([PALLETISING 15-min-RA] >= 2500, 1, 0)
)
@GRN_VPR8, here is my solution.
Change the measure [PAL_25K_Above] to this:
PAL_25K_Above =
SUMX(
VALUES(YourTable[Time]),
IF([PALLETISING 15-min-RA] >= 2500, 1, 0)
)
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |