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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am trying to sum up my variance for fiscal month to date and it's being troublesome, my DAX query is - Thank you in advance
Measure_with_yearfilter = CALCULATE([Revenue_Variance], FILTER(fact_invoice_tx_financials,[Missed_Revenue] = 1),FILTER(dim_date,YEAR(dim_date[Date]) = YEAR(TODAY())))
Solved! Go to Solution.
Hi @lmundia,
Try this
=SUMX(SUMMARIZE(fact_invoice_tx_financials,dim_date[Fiscal Month],"ABCD",CALCULATE([Revenue_Variance], FILTER(fact_invoice_tx_financials,[Missed_Revenue] = 1),FILTER(dim_date,YEAR(dim_date[Date]) = YEAR(TODAY())))),[ABCD])
Hope this helps.
Hi @lmundia,
Try this
=SUMX(SUMMARIZE(fact_invoice_tx_financials,dim_date[Fiscal Month],"ABCD",CALCULATE([Revenue_Variance], FILTER(fact_invoice_tx_financials,[Missed_Revenue] = 1),FILTER(dim_date,YEAR(dim_date[Date]) = YEAR(TODAY())))),[ABCD])
Hope this helps.
Hi @lmundia
Try this...
Measure_with_yearfilter =
var actualmonth = FIRSTNONBLANK(dim_date[Fiscal_Month_Sort];1)
return
CALCULATE
(
[Revenue_Variance],
ALL('dim_date'),
YEAR(dim_date[Date]) = YEAR(TODAY()),
dim_date[Fiscal_Month_Sort] <= actualmonth
)I hope this helps
Regards
BILASolution
returned the first fiscal month numbers, thank you for chipping in.
You are welcome.
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 |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |