Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I have a relative Date filter on a page and it's filtering my table per last week's data. I am trying to show last week's data and show all employees that didn't have sales in that week too.
Simple measure:
Total Sales = SUM(Sales[SalesAmount])
Current view:
Expected View:
Thanks
Solved! Go to Solution.
Hi @H_insight
Thanks for reaching out to us.
Please try this,
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@H_insight , You can use a week behind measure
week behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-7,DAY))
Also check
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
Hi @amitchandak
I have a relative date slicer to select the target week. So it's already filtering the data. What I want is to get all sales even if null/zero/blank for all employees.
Thanks
Hi @H_insight
Thanks for reaching out to us.
Please try this,
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
51 | |
46 | |
20 | |
16 | |
14 |
User | Count |
---|---|
108 | |
54 | |
31 | |
20 | |
18 |