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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
nguyenhieu
Regular Visitor

Help with DAX to find list of customer in daily route by filtering in Calendar

Hi all,

I need your helps that I want to filter List of Customer in daily route through Calendar.

I want to show list of Customer that Staff will visit on selected date (EX: on 19/01/2024, Staff 1 visit Customer 1,2,3...) based on Column "Weekday" in Sheet DATA. Column "Weekday" is day of weeknumber but I dont know how to link with Calendar

Every Customer have a date in route (the date that Customer added to system), so I have to find out the Week No. and day of weeknumber from "weekday" to find exactly day and week that visit customer, however I can not filter list of Customer through Calendar.

Hope to receive your help.

Thank you.

 

 

Please check the lUntitled.pngink data below:

https://docs.google.com/spreadsheets/d/1fxuYdV5lVe5RyiBBImNj3sBPJ5zRMIcs/edit?usp=sharing&ouid=11537... 

 

1 REPLY 1
some_bih
Super User
Super User

Hi @nguyenhieu you shuld create Date / Calendar table with power pivot featues, check link as example. For details what you neen check page details

For week number, on link there is function WEEKNUM.

Create relationship with Date / Calendar table and your table after that slice and create measures as you wish.





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

Proud to be a Super User!






Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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