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.
I have a measure Nº pessoas =distinctcount(horarios[idpessoa]) that counts the number of persons. What I want is a table that shows the average of number of persons by days of the week and code. In the picture Domingo =sunday, Segunda-Feira Terça-Feira=Tuesday and the values shows the number of persons. (not what I want) I try
AVERAGEX(KEEPFILTERS(VALUES('Date'[Dia Semana])); CALCULATE([NºPessoas])) but it doesn't work
The average for domingo and 0000089415 should be 0,25 in the picture above-As you see in the picture below there are only one person for 4 domingos(sundays). Btw do you know why the total for 0000083646 and domingo is 3 (picture below)? shouldn't be the sum of persons for all days of domingo? Thank you in advance.
Hi @Anonymous ,
Can you share a sample of the data and the model you have?
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490 (courtesy of @Greg_Deckler).
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |