Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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%
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 44 | |
| 42 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 72 | |
| 66 | |
| 33 | |
| 32 | |
| 31 |