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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a table built for using aS dynamic filter showing the previous month, and year by using the PREVIOUSMONTH AND PREVIOUSYEAR functions. It works perfectly. However, I cannot seem to get the syntax correct for creating an option for PREVIOUS DAY.
Hi @Heatmizer3791 ,
Please try this :
ADDCOLUMNS(PREVIOUSDAY(DATESMTD('Plant Teardown Data'[Teardown_Date])),"Type","Last Day")
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Since it is only a single date you would use ROW rather than ADDCOLUMNS
ROW("Teardown_Date",TODAY()-1,"Type","Yesterday")
This approached worked. Thank you!
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |