Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GRN_VPR8
Frequent Visitor

SUM of a measure not a column

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?

GRN_VPR8_0-1698167816277.png

 

1 ACCEPTED SOLUTION
EylesIT
Resolver II
Resolver II

@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)
    )

View solution in original post

2 REPLIES 2
EylesIT
Resolver II
Resolver II

@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)
    )

@EylesIT  Thank you 🙂

GRN_VPR8_1-1698171505596.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.