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.
Hi Everyone,
I appreciate with you guys can help me with this DAX, I need to build a date (Ex : 20220213), using 2 tables. At column dax_YearMonthNo I need this date. Using this DAX Formula i could get YYYYMM (Image1) when i try to make a lookup to bring the earliest date from Calendar it fails, (already tried using Earlier)
Image 1
Image 2
Calendar
Table 1
Hi, @k1ko92
You have multiple 'lookupvalue' functions nested in your calculated columns, which is not good for troubleshooting.
You need to create separate calculated columns to test whether each 'lookupvalue' is working correctly.
For further research, please provide sanitized sample data that fully covers your issue.
Best Regards,
Community Support Team _ Eason
@k1ko92 , for period you can get date like
date = date(left([period],4), right([period],2),1)
Or from calendar table
Minx(filter(calendar, calendar[Period] = table[Period]) , calendar[Date])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
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 |
---|---|
13 | |
12 | |
11 | |
7 | |
7 |
User | Count |
---|---|
16 | |
13 | |
12 | |
9 | |
9 |