Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello. I have written the following measure to return certain measures if they are populated/blank. I need to update this measure to calculate specifically on a department level for each condition. Can anyone help? I feel like this is some sort of summarize/groupby type functionality. And this will need to be done in a measure as unfortunately calculated columns are not an option for me. And using department in the visual is not an option, either.
Thank you!
@LupinAinsworth , As these all are measure you need use a group by with values or more than that with summarize. You can try visual calculations also
Sumx(Values(Dim[Dim COlumn]) ,
Sumx(Summarize(Fact, Dim[Dim COlumn], Dim[Dim COl2]) ,
User | Count |
---|---|
77 | |
76 | |
41 | |
30 | |
24 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |