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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Future data restriction for Line Graphs

Hi Experts,

This question might have asked in the forum in the past but need to clarify this.

when we design line graphs with date column involved, how to we restrict the data to a certain period like to date , current weekend or month?

Date table consist upto date ranging to 2020 which i do not want display in the graph. When we create the dates based on the data table it will give upto the current date but how can I utilise the date table to solve this? 

Thank you.

Regards

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @Anonymous 

If I am understanding the problem you are having, the folks at SQLBI have a good post about how to handle it.

https://www.sqlbi.com/articles/hiding-future-dates-for-calculations-in-dax/

View solution in original post

3 REPLIES 3
jdbuchanan71
Super User
Super User

Hello @Anonymous 

If I am understanding the problem you are having, the folks at SQLBI have a good post about how to handle it.

https://www.sqlbi.com/articles/hiding-future-dates-for-calculations-in-dax/

Anonymous
Not applicable

Thanks @jdbuchanan71 

This is what I was looking for, I will check for other views on this as well. You're answer will be marked as Accepted solution later.

Hi @Anonymous ,

Any update on this problem?

Best Regards,

Teige

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.