Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
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
Hi, i need to create a measure to show the sum just for the values that are #Above the USL (Upper Spec Limit), and another one to show the sum just for the values that are #Below the USL (Upper Spec Limit), needs to be done as a measure becasue the limits varies depending on different selections. The results must be 52 above and 42 below. I alredy try a CALCULATE IF stating the sum the ones that are less than the USL, but it is not working. The USL and LSL vary depending on the filters and diferentes categories.
[1]: https://i.stack.imgur.com/5sje0.png
@Ayllar Assuming you have a measure for the Upper Spec Limit, you could do something like this:
Measure =
VAR __USL = [USL Measure]
VAR __Table = FILTER('Table', [Column] > __USL)
VAR __Result = COUNTROWS( __Table )
RETURN
__Result
Hi @Greg_Deckler i did the suggested formula but is giving the same result 1348 which is the sum of all measures:
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.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 11 | |
| 9 | |
| 5 | |
| 5 |