Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Could you kindly assist me in creating a measure to display the day name based on the 'ORDERS' table and the [ORDER_DATE] column? It's important to consider that we are working with DirectQuery, and thus, the FORMAT function cannot be used.
My approach not working : Day Name = FORMAT('ORDERS'[ORDER_DATE], "dddd")
Thanks
Solved! Go to Solution.
Hi Thanks for your support today 🙂
I was able to find the right solution, instead measure I create a new column :
Hi @SzymonKl
Are you using a calendar table? Maybe you can compute the day name there and get it by using the relation?
No , the [ORDER_DATE] column is in 'ORDERS' table and is a Date/Time format.
@SzymonKl Not sure about this, but does the following work?
Day Name(MEASURE) = FORMAT(MAX('ORDERS'[ORDER_DATE]), "dddd")
Or it is not working anyway because of DirectQuery?
Thanks for solution unfortunetlly i getting the error :
Sorry for the typo: it is MAX(
Day Name(MEASURE) = FORMAT(MAX('ORDERS'[ORDER_DATE]), "dddd")
Thanks
I see the day name but unfortunately, instead of two records, I get much more. It seems that now the order has been assigned to each Wash Site. Wash Sites are stored in the 'WASH_SITES' table, column [NAME].
Without measure :
with measure:
Please provide some sample fake data that follows the data structure of your actual data, and the relationship between them for checking.
Hi Thanks for your support today 🙂
I was able to find the right solution, instead measure I create a new column :
good to know.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
123 | |
78 | |
48 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |