Hello,
I have created a custom indicator in my model and I want to create a measure which will rollup the value of this indicator at school level and repeat it if another dimension is pulled in. Below table shows the School, mode and indicator. I want to use DAX to calculate School level indicator count.
School Code | Mode | Indicator count | School Level Indicator count |
5 | On-Screen | 368 | 368 |
5 | Project | 0 | 368 |
104 | On-Screen | 274 | 1320 |
104 | Project | 1046 | 1320 |
104 | ePortfolio | 0 | 1320 |
253 | On-Screen | 690 | 690 |
253 | Project | 0 | 690 |
Solved! Go to Solution.
Hi,
Use the below code for creating the Measure in your model :
Appreciate your Kudos and please mark It as a solution if it helps you
Hi @vini_udenia
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Use the below code for creating the Measure in your model :
Appreciate your Kudos and please mark It as a solution if it helps you
Thanks a lot this works! 🙂