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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jyaul1122
Helper II
Helper II

Dates based on Slicer selection

Hi,

I have two tables Fact and Date table, both are link many to one with Fact(data_date) and Date table(Dates).

Fact Table:

ProjectData_DateActual Date
Project15/22/202511/19/2030
Project15/29/202512/18/2030
Project16/5/20251/16/2031
Project16/12/20252/14/2031
Project25/22/20253/1/2031
Project25/29/20253/16/2031
Project26/5/20253/31/2031
Project26/12/20254/15/2031
Project36/19/20255/5/2032
Project36/26/20255/6/2032

 

Dates Table:

Dates
5/22/2025
5/29/2025
6/5/2025
6/12/2025
6/19/2025
6/26/2025
7/3/2040
7/5/2042
7/6/2042
7/7/2042
7/8/2042

 

I have slicer from Fact table(Data_date)-single select, I would like to display Actual Date  from Fact table where Fact(Data_Date)<=max(Data_Date) in matrix. Value(Actual Date) will be change based on Dates slicer.

 

For example if date selected=6/12/2025 then output will be upto data_date 6/12/2025:

  Dates(Date table) 
Project5/22/20255/29/20256/5/20256/12/2025
Project111/19/203012/18/20301/16/20312/14/2031
Project23/1/20313/16/20313/31/20314/15/2031

 

if date selected=6/19/2025 then output will be upto data_date 6/19/2025:

  Dates(Date table)  
Project5/22/20255/29/20256/5/20256/12/20256/19/2025
Project111/19/203012/18/20301/16/20312/14/2031 
Project23/1/20313/16/20313/31/20314/15/2031 
Project3    5/5/2032

, how can i achive using DAX ?

4 REPLIES 4
v-kpoloju-msft
Community Support
Community Support

Hi @Jyaul1122,

Thank you for reaching out to the Microsoft fabric community forum. Aslo thanks to @lbendlin, for his inputs on this thread. I reproduced the scenario again, and it worked on my end. I used my sample data and successfully implemented it.

Relationship:

vkpolojumsft_0-1752558445569.png

 

Outcome:

vkpolojumsft_1-1752558445569.png

I am also including .pbix file for your better understanding, please have a look into it:

Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.

Thank you for using the Microsoft Community Forum.




Hi @Jyaul1122,

Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.

Thank you!

Hi @Jyaul1122,

Hope you had a chance to try out the solution shared earlier. Let us know if anything needs further clarification or if there's an update from your side always here to help.

Thank you.

lbendlin
Super User
Super User

I have slicer from Fact table

That is not recommended. Slicers should come from dimension table columns. Otherwise you are forced to use "unnatural"  bidirectional relationships and bridge tables.

 

Refactor your approach to use the data model as it was intended. Use TREATAS to transfer filters if your tables are disconnected.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.