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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Kerensky34
New Member

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)
 
 
Kerensky34_0-1686775662661.png

 

 

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

 

Kerensky34_1-1686775764853.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Kerensky34 ,

Please have a try.

Try to use filter.

vrongtiepmsft_0-1686880519368.png

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.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Kerensky34 ,

Please have a try.

Try to use filter.

vrongtiepmsft_0-1686880519368.png

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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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