Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
I have the currently existing Measure to calculate the average number of orders per month:
Solved! Go to Solution.
Please try the following:
AVG Orders/Month of 2022 =
CALCULATE(
AVERAGEX(
KEEPFILTERS(VALUES('Doc Date Calendar'[Month])),
CALCULATE(DISTINCTCOUNT('UK Sales TOTAL'[Doc Number]))
),
Filter(ALL(DateTable),DateTable[Year] = 2022)
)
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
-----------------------------------------------------
Please try the following:
AVG Orders/Month of 2022 =
CALCULATE(
AVERAGEX(
KEEPFILTERS(VALUES('Doc Date Calendar'[Month])),
CALCULATE(DISTINCTCOUNT('UK Sales TOTAL'[Doc Number]))
),
Filter(ALL(DateTable),DateTable[Year] = 2022)
)
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
-----------------------------------------------------
That works perfectly, thank you!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.