Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two tables that are linked:
The link between them is UniqueID. I want to create a Measure where I count the total of rows in Software which the Status.Status is "AUTHORIZED". How can I do that?
Solved! Go to Solution.
There are a few ways you can do this, depending on how your relationships directions are set up.
Option 1
MeasureName = CALCULATE( COUNTROWS(Software), FILTER(Software, RELATED(Status[Status]) = "AUTHORIZED) )
--- OR ---
MeasureNameOptimized = CALCULATE( COUNTROWS( FILTER(Software, RELATED(Status[Status]) = "AUTHORIZED") ) )
Option 2
MeasureName = CALCULATE( COUNTROWS(Software), FILTER(Status, Status[Status] = "AUTHORIZED") )
There are a few ways you can do this, depending on how your relationships directions are set up.
Option 1
MeasureName = CALCULATE( COUNTROWS(Software), FILTER(Software, RELATED(Status[Status]) = "AUTHORIZED) )
--- OR ---
MeasureNameOptimized = CALCULATE( COUNTROWS( FILTER(Software, RELATED(Status[Status]) = "AUTHORIZED") ) )
Option 2
MeasureName = CALCULATE( COUNTROWS(Software), FILTER(Status, Status[Status] = "AUTHORIZED") )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |