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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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