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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
netanel
Post Prodigy
Post Prodigy

Filters

Hey All!

I have a problem
I know it is common but I have not found the solution out there

I have two columns of Amount & Budget 
I need to display both in one table
The problem is that Amount is filtered by Yes
And Budget filtered by NO
It turns out that if I run the filter one of the columns disappears

How do you solve this?

 

new 9.JPG








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki
1 ACCEPTED SOLUTION

@Samarth_18 

Sorry for the mess
I found the logic

Net USD AVG for Budget =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[Data Source] IN { "Budget 2022" , "Budget 2021","Budget 2020" }
)
 
This way i take all the years
 
Net USD AVG for YES =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[BI Platform] IN { "YES" })
 
and in this way i take allso the "Yes" filter
 
Thanks for halping
 







Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

View solution in original post

3 REPLIES 3
Samarth_18
Community Champion
Community Champion

HI @netanel ,

 

If I understood your question in a right way then you can create a new column with below code and use it further:-

column  = coalesce([amount],[budget])

 

Thanks,

Samarth

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hey @Samarth_18 

How are you?

My mistake,

It looks more like that

 

new 10.JPG

I wrote these two Measure
But as soon as I change a year
The budget does not come
Because it is only filtered to 2022 in the Measure

 

Net USD AVG for Budget =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[Data Source] IN { "Budget 2022" })
 
Net USD AVG for YES =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[BI Platform] IN { "YES" })

 

Thanks!








Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

@Samarth_18 

Sorry for the mess
I found the logic

Net USD AVG for Budget =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[Data Source] IN { "Budget 2022" , "Budget 2021","Budget 2020" }
)
 
This way i take all the years
 
Net USD AVG for YES =
CALCULATE(
    [Net USD AVG],
    'DB 2022'[BI Platform] IN { "YES" })
 
and in this way i take allso the "Yes" filter
 
Thanks for halping
 







Did I answer your question?
Mark my post as a solution!
Appreciate your Kudos!

Connect on Linkedin
linkedin.com/in/netanel-shriki

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.