Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need help with getting the average qty of invoices PSIXXXX (No - field) based on the day posted (Posting_Date)
Solved! Go to Solution.
@LogixAdex , Create date table a having day , week and month
The create measure like
divide(sum(table[Qty]), distinctcount(Date[Year Week]) )
or a measure like
Averagex( Values(Date[Week Year]), Calculate( Sum(Table[QTY])) )
Hi @LogixAdex ,
You could create a measure like below:
Measure = CALCULATE(AVERAGE('Table'[qty]),FILTER(ALLEXCEPT('Table','Table'[order]),WEEKNUM('Table'[date])=WEEKNUM(SELECTEDVALUE('Table'[date]))))
For per day and per month, just change the corresponding condition in the formula.
Best Regards,
Jay
Hi @LogixAdex ,
You could create a measure like below:
Measure = CALCULATE(AVERAGE('Table'[qty]),FILTER(ALLEXCEPT('Table','Table'[order]),WEEKNUM('Table'[date])=WEEKNUM(SELECTEDVALUE('Table'[date]))))
For per day and per month, just change the corresponding condition in the formula.
Best Regards,
Jay
@LogixAdex , Create date table a having day , week and month
The create measure like
divide(sum(table[Qty]), distinctcount(Date[Year Week]) )
or a measure like
Averagex( Values(Date[Week Year]), Calculate( Sum(Table[QTY])) )