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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have a basic doubt on DAX
Consider dimdate[date], connected to a table called factualX.
I want to calculate factual total of rows of last year, ignoring the date slicer I have on screen, because of course i can have an initial date somewhere on 2022, and ending on 2023, and i want the measure to ignore this filter.
the calculation should just consider today's date (and year)
# rows LY = CALCULATE( COUNTROWS(factualX), PREVIOUSYEAR( 'Posting Date'[Posting Date] ) )
Thanks in advance
I remind myself of that but didn't seem to work.
User | Count |
---|---|
24 | |
10 | |
9 | |
7 | |
4 |