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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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