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.
Good afternoon, I decided to try to get assistance, been stuck on this for a little bit of time already:
Summary: I'm trying achieve the following measure calculation - pseudologic (sum of expression - IF ([Calc Measure 1]>[Calc Measure 2], 1, 0) - I'd need to be able to display this measure independently in other calculations. On the screen below, I'd like to be able to derive measure which would display 5 (count of Employees having individual Performance % higher than Perofranc ein Service Region %) in other visuals (such as KPI, card).
So far, I've faced 2 issues: a) not being able to filter TRUE/FALSE expression b) circular. I'd also like to have a DAX-formula scalar solution, rather than changing tables/data model.
Formula for Performance % measure:
Performance % = DIVIDE(SUM('Fact Jobs'[JobsCompleted]), SUM('Fact Jobs'[JobsTargeted]),0 )
Formula for Performance by Service Region measure :
Performance by Service Region % = CALCULATE ([Performance %],SUMMARIZE ('Dim Employee', 'Dim Employee'[service_region]), ALL('Dim Employee'[Name]))
Screenshot:
Thank you for your help!
Link to PBIX: Issue PBIX
Solved! Go to Solution.
What worked was Count of filtered rows = COUNTROWS (FILTER(tablename), [FILTER column]=1)
Should I try to caculate a "physical" table and then use it to get those measures?
What worked was Count of filtered rows = COUNTROWS (FILTER(tablename), [FILTER column]=1)
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 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |