Forum Discussion
Yesterday filter in a table
Hello everyone,
New to powerBi
I'm currently working on a dashboard that draws its data from a sharepoint database.
To summarize, alerts are created for certain references on specific dates.
I would simply like to get all the alerts that have been j-1 on power bi. (all concerning d-0 data, of course).
I understand that there are relative filters.
However, they give the dates of d-0 AND d-1 and I can't figure out how to subtract or filter them.
2 Replies
- christinepaytonMost Valuable Professional
I recommend using a date table in a relationship that has a relative days numeric column. Then you can filter on relative date = "-1" to get yesterday's data. It will not include the current day in this case because "today" is 0 in relative days.
- v-zhangtiCommunity Support
Hi, Anonymous
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.