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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 59 | |
| 45 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 115 | |
| 112 | |
| 38 | |
| 35 | |
| 26 |