Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I connected to a list in SharePoint Online (that has a few lookup values to other lists). I wamt to create a report (Table or Matrix visualization) to show only the last 24 hours (Yesterdays 8AM to today's 8AM). how and where do i put this cretiria?
Thanks a lot in advance,
Assaf
Solved! Go to Solution.
Hi Assaf,
The workaround could be adding a custom column like below. Then you only need to filter the 1 or 0.
IfLast24 = IF ( ( DATEVALUE ( [Column1] ) = TODAY () && TIMEVALUE ( [Column1] ) <= TIME ( 8, 0, 0 ) ) || ( DATEVALUE ( [Column1] ) = TODAY () - 1 && TIMEVALUE ( [Column1] ) >= TIME ( 8, 0, 0 ) ), 1, 0 )
Best Regards,
Dale
Hi @arevach,
Could you please mark the proper answers as solutions?
Best Regards,
Dale
Hi Assaf,
Do you have a DateTime type column?
I would suggest you import the data then add the DateTime type column in a Sclier which will be set to an interval of 24 hours.
Can you share a sample?
Best Regards,
Dale
Hi Dale,
Thanks for the response.
I have a SPO list with Date type column Report Date.
I would like to send a scheduled report to bunch of users of the last 24 hours , AKA Report Date Between Today and Yesterday...
I've added a filter visualization but do i set it on today or yesterday so i will be able to acheive the report of last 24 hours?
What sample do you need?
Assaf
Hi Assaf,
The workaround could be adding a custom column like below. Then you only need to filter the 1 or 0.
IfLast24 = IF ( ( DATEVALUE ( [Column1] ) = TODAY () && TIMEVALUE ( [Column1] ) <= TIME ( 8, 0, 0 ) ) || ( DATEVALUE ( [Column1] ) = TODAY () - 1 && TIMEVALUE ( [Column1] ) >= TIME ( 8, 0, 0 ) ), 1, 0 )
Best Regards,
Dale
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |