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.
I have a dataset for a Date Dim (Integer date, full date datetype & all possible hierarcies ). I do a join to another datecolumn in a transtional dataset . Both are of datatype date same format (mm/dd/yyyyy). Join is not honoring its falling out. The other option i have is do a integer join, my datedim have datekey which is an integer and i need to convert my datecolumn in transtional data to a integer of format yyyymmdd.
First why is my date join not honoring the join and if powerbi doesn't support it . How can i convert my date to integer to make use of integer join
Thanks
I was able to get the date converted to integer using format and value function and then joined back to integer date in my date dim. But is date join not support in powerBI?
I have created a DateKey in my calendar datatable that work.
Try use following FORMAT ( [Date]; "YYYYMMDD" ) as DateKey column in your table. The value has to be converted to Whole Number by change column datatype.
this worked. i did the same thing, but did not include the " " around my format, so it did not takerecognize it. I tried to use 0000, but it gave the generic 4681 that it always gives
=FORMAT ([Date], "YYYYMMDD" ) does work to convert DateTime data format to text.
Thanks for correcting my error!
You could wrap a VALUE function around it
= VALUE(FORMAT ([Date], "YYYYMMDD" ) )
The " " is used to name the column when create a calendar table.
As you create column it's name without " ". Am pleased to hear the you managed to resolve your issue with changetype. Please mark the issue as resolved. Thanks 🙂
i have the same problem - it is common - i can't believe there isn't a standard solution to this...
Date joins are supported - even preferred over SK joins. What do you meant "not honouring". Are you saying the join won't even complete, or it completes but then the behaviour is unpredictable? Is there any time key information in one of the columns? Is it possible you have rouge records in one of your date columns that are not dates? Are both date columns from the same locale?
i have two datetime columns. i want to join on just Date. i covert each column from DatetTime do just date. i go to join on date, and the model does NOT parse - it cannot find a record match. i the background, SSAS is STILL storing the datetime info, even though i changed the datetime data type to date. so it does not drop the time info on the data point.
SO the model does not parse - so you have to make another tpye of key....
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 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |