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,
Newbie here, I am trying to calculate average by category, based on the ALLSelected values in slicer.
In the below measure, I am considering Variable as all the selected company names in the slicer, then for those companies, I am calculating distinctcount of email_ID and then averagex of each companies.
However, the output i am getting is 1, which is incorrect.
I am using the below measure:
Company name | Distinct count of email id |
Company A | 35 |
Company B | 40 |
Company C | 25 |
Company D | 17 |
Company E | 37 |
Company F | 24 |
So for example, If i select Company A, Company B and Company C in the slicer I should get an average output of 33 (which is an average of 35,40 and 25).
Appreciate if you are able to help me solve this.
Best,
Anwar
Hey @anwarbi ,
please create a pbix file containing sample data that still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to onedrive, Google Drive, or Dropbox and share the link. If you are using Excel to create the sample data instead of the manual input method, share the xlsx as well.
Do not forget to create a table that contains the expected result based on given filters.
Regards,
Tom
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 |
---|---|
96 | |
95 | |
82 | |
71 | |
64 |
User | Count |
---|---|
115 | |
105 | |
95 | |
79 | |
72 |