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
martijnth
Helper II
Helper II

how can temporarilly swith of page filter in dax?

Dear Reader, 

 

if created a dashboard, with direct querry, that uses a measure as below;

 
Min.SinceLastGT = IF(
        (DATEDIFF(MAX(TBM_PRODUCTION_DATA[ProducedOn]),now(),MINUTE)<4),
        "Last GT within 2 minutes",CONCATENATE(CONCATENATE("Last GT ",
        DATEDIFF(MAX(TBM_PRODUCTION_DATA[ProducedOn]),now(),MINUTE))," Min. ago")
        )
this calculated when the last GT came from a machine in a live dashboard. However i have a page filter that filters out only GT's from today. When a machine has been not producing since yesterday it the above code give me "last gt within 2 minutes. This because of the page filter of TODAY. I tried to put in ALL somewhere, but was not succesfull. All help is appreciated.
reg martijn
3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @martijnth ,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please feel free to ask.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Thanks, for your reply, sadly i have no solution for this.

reg martijn

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @martijnth ,

I still have a little confused about your scenario.

If it is convenient, could you share a dummy pbix file which can reproduce the scenario and your desired output , so that we can help further investigate on it? You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.