Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi guys,
I've got a report that looks at all time data, however I want to set up two of the widgets to look at data from the last 30 days. Can anyone please suggest a solution?
Solved! Go to Solution.
If you want to create measure that always calculate for last 30 days as of today for this then you can try as below:
Say you have a measure quantity sold for each days
last_30days_quantity_sold = CALCULATE(SUM(<quantity_sold column>),FILTER(ALL(<tablename>),datecolmn name>TODAY()-30))
If you want to create measure that always calculate for last 30 days as of today for this then you can try as below:
Say you have a measure quantity sold for each days
last_30days_quantity_sold = CALCULATE(SUM(<quantity_sold column>),FILTER(ALL(<tablename>),datecolmn name>TODAY()-30))
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
92 | |
67 | |
62 | |
52 |