Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have a dummy table as below:
Diff value is not a column but a calculated measure.
What I need is a table as below:
So on basis of measure "Diff value", I want to calculate count of elements that have value >5.
I am trying to work with below DAX:
Is there another method to group by on basis of values from a measure?
Solved! Go to Solution.
Try
Count Diff Value > 5 =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( 'Table', 'Table'[Element], 'Table'[Coordinates] ),
"@diff value", [Diff value]
)
VAR Result =
COUNTROWS ( FILTER ( SummaryTable, [@diff value] > 5 ) )
RETURN
Result
Try
Count Diff Value > 5 =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( 'Table', 'Table'[Element], 'Table'[Coordinates] ),
"@diff value", [Diff value]
)
VAR Result =
COUNTROWS ( FILTER ( SummaryTable, [@diff value] > 5 ) )
RETURN
Result