The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a simple formula that calculates the incident count per month, which is then broken down by our defined week of the month (all months have W1, W2, W3, & W4). Works great.
Hi:
Can you try:
AVERAGEX(ALL('DATE Table'[Year Month Name])),[Inc Count])
If you have a date table, then probably your Year Month Name column is sorted by another column, right? If that's the case, you have to remove the filter not only from the field itself but also from the field by which the field is sorted. To see what happens in your code you can use the Analyzer built in to Power Query. Extract the query and see what happens in there. I'm relatively sure it's to do with the sorting field.
Hi @Anonymous ,
Try using ALL in the following manner:
CALCULATE('Incident Measures'[_Inc Count] / [_Count of Months], ALL('DATE Table'))
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |