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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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 ACCEPTED SOLUTION
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!






View solution in original post

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.