Forum Discussion

Kerensky34's avatar
Kerensky34
New Member
3 years ago
Solved

DAX VARIABLE filter from another Variable

I  have a varible, that I am trying to return ONLY shipments from SHIPMENT ID 

 

VAR shippingdays =

CALCULATE([Average transitDays], 'shipment'[ship_INDR]<>"Y")
RETURN
IF ( AvgshipedNonDDA = BLANK (), 0, AvgshipedNonDDA)
 
 

 

 

How do I filter out the data that dont belong to get this result?

 

 

 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Kerensky34 ,

    Please have a try.

    Try to use filter.

    The measure is 0 or is not 0.

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Kerensky34 ,

    Please have a try.

    Try to use filter.

    The measure is 0 or is not 0.

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.