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!Get Fabric certified for FREE! Don't miss your chance! Learn more
Solved! Go to Solution.
Hi @lrdub,
I made one sample for your reference, If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Here we can create a measure to achieve your goal.
Measure = var currentmonth = FORMAT(TODAY(),"mmmm") var previsousum = CALCULATE(SUM(Table1[sales]),FILTER(ALL(Table1),Table1[Month]<>currentmonth)) var countr = CALCULATE(COUNTROWS(Table1),FILTER(ALL(Table1),Table1[Month]<>currentmonth)) return IF(MAX(Table1[Month])<>currentmonth,SUM(Table1[sales]),(previsousum/countr)*COUNTROWS(Table1))
For more details, please check the pbix as attached.
Regards,
Frank
Hi @lrdub,
I made one sample for your reference, If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Here we can create a measure to achieve your goal.
Measure = var currentmonth = FORMAT(TODAY(),"mmmm") var previsousum = CALCULATE(SUM(Table1[sales]),FILTER(ALL(Table1),Table1[Month]<>currentmonth)) var countr = CALCULATE(COUNTROWS(Table1),FILTER(ALL(Table1),Table1[Month]<>currentmonth)) return IF(MAX(Table1[Month])<>currentmonth,SUM(Table1[sales]),(previsousum/countr)*COUNTROWS(Table1))
For more details, please check the pbix as attached.
Regards,
Frank
Hi @lrdub,
Does that make sense? If so, kindly mark my answer as a solution to close the case.
Regards,
Frank
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 48 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 106 | |
| 39 | |
| 27 | |
| 27 |