Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

filter data not older than 48hrs

Hello everybody,

 

is there anybody who knows how to insert a measure, or editing the query to show values not older than 48hrs? I tried a combination of EACH IF and HOURS but doesn't work.

 

Cheers,

Andrea

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi Andrea,

 

You can do it in Advance Editor

 

Editor.png

 

Or Using the Menus

 

Step1.png

Step2.png




Lima - Peru

View solution in original post

4 REPLIES 4
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi Andrea,

 

You can do it in Advance Editor

 

Editor.png

 

Or Using the Menus

 

Step1.png

Step2.png




Lima - Peru
Anonymous
Not applicable

Do you also know perhaps how, in the query editor, to make appearing in a new column the value corresponding a Today()-2? 

@Anonymous

 

in a custom column:

 

Date.AddDays(DateTime.Date(DateTime.LocalNow()),-2)




Lima - Peru
Anonymous
Not applicable

Awesome @Vvelarde!!! You made my day!!! 🙂 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.