Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
I have made an error with my calculation - I didn't account for the q1 of the new year - instead I get 0Q. I would like to show the previous quarter, including showing Q4 of last year in the first calendar year quarter. Got any ideas?
Previous Quarter Year Title =
Var Year = INT ( YEAR ( TODAY () ) )
Var Quarter = INT ( FORMAT(NOW (),
"q" ) )
Return
"Q"&Quarter-1 &"," & " " & Year
(Should instead show Q4 of last year for the text)
TIA
Solved! Go to Solution.
the best practice is to create a date table, and use the time intelligense functions.
or try this
return "Q"&IF(Quarter=1,Quarter+3 &", "&Year-1,Quarter-1&", "&Year)
the best practice is to create a date table, and use the time intelligense functions.
or try this
return "Q"&IF(Quarter=1,Quarter+3 &", "&Year-1,Quarter-1&", "&Year)
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 |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 10 | |
| 9 | |
| 6 |