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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.