This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I am building a custom slicer in which I want to be able to slice to previous year, quarter, and month. I cant figure out what needs to be entered here after the "PREVIOUSQUARTER".
Solved! Go to Solution.
HI @JDMakita ,
You could test to make a previous Qtr flag on the query editor:
=Table.AddColumn(#"Changed Type1", "Previous Qtr Flag", each if [Date] <= Date.AddMonths(Date.From(DateTime.LocalNow()),-3) then 1 else 0)
Refer:
https://community.powerbi.com/t5/Desktop/Current-Quarter-and-last-quarter-calculation/m-p/703345
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Lucien
HI @JDMakita ,
You could test to make a previous Qtr flag on the query editor:
=Table.AddColumn(#"Changed Type1", "Previous Qtr Flag", each if [Date] <= Date.AddMonths(Date.From(DateTime.LocalNow()),-3) then 1 else 0)
Refer:
https://community.powerbi.com/t5/Desktop/Current-Quarter-and-last-quarter-calculation/m-p/703345
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Lucien
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 32 | |
| 25 | |
| 23 |