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.
Hello,
I have created a measure which works out the average value for the month and a measure which works out the average for the quarter. These are displayed on a card visual.
I have now been asked to add each month average value within the quarter to get a total.
So, if the average values are, Oct $200, Nov, $400 and December $150, I need the card to read $750 and not average of the three values combined (which it is currently doing)
Measures:
Previous Quarter Basket Value =
Is anyone able to help with this weird senario?
Solved! Go to Solution.
@ClaireBear , My bad, it needs to be sumx, you also need month year as column
Previous Quarter Basket Value =
CALCULATE(sumX(values('Dimension Time'[Month Year]),[Average Basket Value]),DATESQTD(ENDOFQUARTER(dateadd('Dimension Time'[Date],-1,QUARTER))))
@ClaireBear , Try like
Previous Quarter Basket Value =
CALCULATE(sum(values('Dimension Time'[Month Year]),[Average Basket Value]),DATESQTD(ENDOFQUARTER(dateadd('Dimension Time'[Date],-1,QUARTER))))
Hi @amitchandak , Thank you for your response. The measure is showing an error from the (values('Dimension Time'[Month Year]), part of the calculation.
@ClaireBear , My bad, it needs to be sumx, you also need month year as column
Previous Quarter Basket Value =
CALCULATE(sumX(values('Dimension Time'[Month Year]),[Average Basket Value]),DATESQTD(ENDOFQUARTER(dateadd('Dimension Time'[Date],-1,QUARTER))))