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.
Today is 9/20/2023. I'd like to create a measure that would show All dates thru yesterday. I.E. 1/1, 1/2 ... 9/18, 9/19. It would always reference what today is and show all dates thru yesterday.
Thanks.
My apologies... Table with all dates in this year up to yesterday.
Hi @Del235 your cal. table could be
Did I answer your question? Kudos appreciated / accept solution!
Proud to be a Super User!
I will check
I get the following error:
Feedback Type:
Frown (Error)
Error Message:
'approx_count_distinct' supports only field access.
Hi @Del235 there is no measure in my proposed solution so please check your error.
Proud to be a Super User!
Error appears but the table is created as Test. The table shows every date in 2023 but it doesn't stop at 9/20, which would have been yesterday. Which field should I be using?
Hi @Del235 try just to rename table which is not Test. If it not works, please share your Date table details.
Proud to be a Super User!
I have a Date table. The formula is now
Hi @Del235 I wrote you solution as new calculated table, not column.
Do you need column in your Date table to mark somehow dates in current year less than yesterday?
Proud to be a Super User!
Hi @Del235
Measure is usually something which is aggregrable, like sum, min...
When you wrote all the dates up to yesterday, you mean table with all dates in ths year up to yesterday? Or...
Proud to be a Super User!
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 |
---|---|
12 | |
11 | |
8 | |
7 | |
7 |
User | Count |
---|---|
20 | |
14 | |
11 | |
10 | |
10 |