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.
Hello,
I have a calendar table that contains a "date" column and a "Working day" column. I want to create a column "Last7Days" which takes the last 7 working days based on Today().
thanks in advance.
Solved! Go to Solution.
If your calendar table is in import mode and is refreshed daily then you can add a flag to each date to indicate if it falls into that 7 working days range or not. Then you can use that flag as a filter on the page or the report.
Measures can only filter individual visuals.
Hi @Maisouiii ,
May I ask if your problem has been solved. If @lbendlin 's reply was helpful, you may consider marking it as solution. If the problem is not yet solved, please feel free to ask us a question.
Best Regards,
Ada Wang
It can be a mesure, not only a column.
If your calendar table is in import mode and is refreshed daily then you can add a flag to each date to indicate if it falls into that 7 working days range or not. Then you can use that flag as a filter on the page or the report.
Measures can only filter individual visuals.
I want to use that column to filter all my page on last 7 days to get data of the last 7 days
a column can only contain a single value. What are you planning to do with that column?
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
84 | |
66 |