Forum Discussion

Saarek's avatar
Saarek
Helper III
5 years ago
Solved

Modify Dax to hide if empty

I am using a time Dax measure taken from here: https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486#comments It works wonderfully, but there is an issue I have enco...
  • Saarek's avatar
    5 years ago

    amitchandakThe solutions you have linked are excellent, in something like a KPI they work flawlessly. The base issue upon filtering within a pivot table remains.

    In effect these measure create string values and when filtering down if there is no information for a specific user they reflect the string without the time data. So, in my case it was ::, in the first link you provided it shows as " Hours & Minutes & Seconds".

    What I need is a way to filter my pivot table to exclude the specific string value of "Hours & Minutes & Seconds" or "::".

    But, I have now worked out that I can put the measure in as a page filter and then filter out the "::". So simple and yet I missed it.

    Thank you for your help.