Forum Discussion
Rolling month
- 6 years ago
Hi Priya2007,
Assume the [Month_Closed] in the table 'Work Delivery', you can create a measure like below:
MeasureTotal=
VAR __table = SUMMARIZE('Work Delivery',[Month_Closed],"__value",[TTM_sales3])
RETURN
IF(HASONEVALUE('Work Delivery'[Month_Closed]),[TTM_sales3],SUMX(__table,[__value]))Reference:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Best Regards,
Qiuyun Yu
Hi Priya2007,
Assume the [Month_Closed] in the table 'Work Delivery', you can create a measure like below:
MeasureTotal=
VAR __table = SUMMARIZE('Work Delivery',[Month_Closed],"__value",[TTM_sales3])
RETURN
IF(HASONEVALUE('Work Delivery'[Month_Closed]),[TTM_sales3],SUMX(__table,[__value]))
Reference:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Best Regards,
Qiuyun Yu