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
Anonymous
Not applicable

Filtering table with two dax conditions

Hi all,

Im trying to show in this table only the data that have values distintc than ceros or blank taking in consideration the measures: Plan AND Real.... ¿Any thoughts of how can be do it?

Thanks !Sin título.png

4 REPLIES 4
az38
Community Champion
Community Champion

@Anonymous hi

you could filter out your blank values in the visual filters pane

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38  I made a DAX that consider the difference between  Plan, Real and PY(prior year) and put it in the filter pane... if this DAX is different than 0 or Blank then will show me a cleaner table and right resultSin título.png.

Let me know if there is a shorter way to get a solution.

 

Thanks !

az38
Community Champion
Community Champion

@Anonymous 

try a meaure like

ActiveRow = IF(
(NOT(ISBLANK([Plan])) && [Plan]<>0) ||
(NOT(ISBLANK([Real])) && [Real]<>0) ||
(NOT(ISBLANK([PY])) && [PY]<>0),
TRUE(),
FALSE()
)

then filter in filter pane by this measure

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

 Hi,

I think that i need is a filter that consider both dax formulas... if i filter one by one i get a wrong result:Sin título.png

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.