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.
Hi, I am creating a financial dashboard that shows summarized results based on a transaction level data table. I have several measures to calculate these summarized results. For example, I have measures to calculate the trailing 12 months revenue and EBITDA. I have added a measure to calculate the count of location codes that have a negative trailing 12 month EBITDA. My calculation works, however, from a performance standpoint, it makes my visuals quite slow when I change the region or date slicer. Here is the measure I am currently using that is so slow:
Solved! Go to Solution.
Hi @Anonymous
Please try below measure.
Count_Neg_EBITDA_TTM = IF ( [EBITDA_TTM] < 0, COUNTX ( ALLSELECTED ( Actuals[Location] ), [EBITDA_TTM] ) )
Or
Count_Neg_EBITDA_TTM = COUNTROWS ( FILTER ( ALLSELECTED ( Actuals[Location] ), [EBITDA_TTM] < 0 ) )
Regards
Hi @Anonymous
Please try below measure.
Count_Neg_EBITDA_TTM = IF ( [EBITDA_TTM] < 0, COUNTX ( ALLSELECTED ( Actuals[Location] ), [EBITDA_TTM] ) )
Or
Count_Neg_EBITDA_TTM = COUNTROWS ( FILTER ( ALLSELECTED ( Actuals[Location] ), [EBITDA_TTM] < 0 ) )
Regards
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 |
---|---|
105 | |
96 | |
79 | |
67 | |
62 |
User | Count |
---|---|
137 | |
106 | |
104 | |
81 | |
63 |