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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Filter column based on another column value

Hi every one,

 

I need help from experts in power bi as i'm new into it.

I have 3 columns: Date, budget 1 and budget forcast. That's is the reason why the values of  the date column go until 2070 but forcast ends up in 2030.
I'm trying do to a histogram since the start date (2001) till (2030). Can someone help me to figure out the dax code?aide.PNG

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

Anonymous
Not applicable

Hi @Anonymous ,

 

In your visual, have you selected Show items with no data in the date column?

4.png

If you choose, please cancel it, and the ones with no value from 2030 to 2070 will disappear.

 

 

 

Best Regards,

Stephen Tao

 

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

Greg_Deckler
Community Champion
Community Champion

@Anonymous Can you not just filter the visual for 2030 or less? Otherwise, if you return BLANK for your measures the extra dates shouldn't show up.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks for the idea. It is possioble to it that way but I'm not sure if the client will be satisfied with that option. That's why I was hoping that there's a way to resolve it by a dax code. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors