March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I need a measure that will show the percentage for only "Hit" and "Missed" and then blank or 0 will show for "No deadline set".
The computation for Hit should be Request Completed divided by Sum of Hit and Missed (2318 / 2524 = 0.92). Same with Missed it should be (206 / 2524 = 0.08).
Target = column
Request Completed = COUNTROWS(CustomerUpdates)
Hope this is possible.
Thanks in advance!
Solved! Go to Solution.
Hi @chesterraepined,
Please try this measure with my table called Table1:
Measure = if(SELECTEDVALUE(Table1[target])="No deadline set", 0,DIVIDE(SUM(Table1[Requested Completed]),CALCULATE(SUM(Table1[Requested Completed]), Table1[target] in {"Hit","Missed"}),BLANK()))
Hope it helps but experts can find more elaborate formula for you.
Ninter
Hi @chesterraepined,
Please try this measure with my table called Table1:
Measure = if(SELECTEDVALUE(Table1[target])="No deadline set", 0,DIVIDE(SUM(Table1[Requested Completed]),CALCULATE(SUM(Table1[Requested Completed]), Table1[target] in {"Hit","Missed"}),BLANK()))
Hope it helps but experts can find more elaborate formula for you.
Ninter
Hi @Interkoubess thanks for the reply.
The measure seems fine but the total is somehow different. The total 5708 was also divided to the sum of Hit and Missed (5708 / 2524 = 226.15%) . The Total should only be 100%
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |