Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
All,
I have this date format and I would like to only see the past 30 days for Labor billed in my report.
Does anyone know how I can create a measure for past 30 days?
Hi,
You could use below measure :
Appreciate your Kudos and please mark it as a solution if it helps you
I tried this and no data is appearing in my visual. This is the Date field. I want the SUM of labor billed in the past 30 days
Did you try to create the measure on Date field ?
And would you please share the result of the new measure you created ?
Hi,
Share some data and show the expected result.
I would like the SUM of Labor Billed for the past 30 days
Hi,
In the Query Editor, seperate the Time from the End Date column. Create a Calendar Table and a relationship (Many to One and SIngle) from the End Date column to the Calendar Table. Wrie these measure
LB = sum(Data[Labor billed])
LB in last 30 days = calculate([LB],datesbetween(calendar[Date],today()-29,today()))
Drag the LB in last 30 days measure to a card visual.
Hope this helps.
can you show an example of this?
Hi,
Please follow the instructions i have mentioned in my previous message.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
82 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |