March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Team, I have three tables showing weekly forecast, capacity, and plan by discipline, Project, and Grouping. I've created measures for the Average of the Top 5 weeks (for Forecast) and Max of Capacity (for capacity). These are working fine with slicers on the page except the slicers for Office Location and Approval. Office Location and Approval are fields from the forecast table. I need help with the following:
Can you plz guide me?
Solved! Go to Solution.
For the 1st Problem - you can change the following Measure to
Proud to be a Super User! | |
Proud to be a Super User! | |
ForecastTable[Week]<=TODAY())
above expression will consider all records that are less than equal to today
If you want to do it by DAY,Month,YEAR, you can use
Proud to be a Super User! | |
Thanks @Kaviraj11 this is working as required.....I wanted dates after today so I just changed the "less than" to greater than.
Can you explain with an example?
I would also recommend to create a DateDim or Calendar table.
Could you mark first solution as accepted?
Proud to be a Super User! | |
I want the AvgTop5Weeks measure to calculate the average of top 5 weeks which are after a specified date. Currently it is calculating the average of top 5 weeks among all weeks listed in the table. Example, let's say I want the average of Top 5 weeks which are after week 28th March.
Proud to be a Super User! | |
In above, where and how do I specify the date after which I want the measure to calculate the average?
ForecastTable[Week]<=TODAY())
above expression will consider all records that are less than equal to today
If you want to do it by DAY,Month,YEAR, you can use
Proud to be a Super User! | |
Thanks @Kaviraj11 this is working as required.....I wanted dates after today so I just changed the "less than" to greater than.
For the 1st Problem - you can change the following Measure to
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |