cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WMUBeene Frequent Visitor
Frequent Visitor

Re: date from yyyymmdd stored as whole number

Column name should be in quotes ("ColumnNameHere ")

Highlighted
haniewais Frequent Visitor
Frequent Visitor

Re: date from yyyymmdd stored as whole number

I just wanted to add that the only way I got my date as int (yyymmdd) converted to text is using the Value.FromText first:

     

       Date.FromText(Text.From(Value.FromText([myDateAsInt]))))

 

Full line forrefrence:

      #"mySecondTable" = Table.AddColumn(

                   #myFirstTable, "DateAsDate", each Date.FromText(Text.From(Value.FromText([myDateAsInt])))

      )

Krushal Frequent Visitor
Frequent Visitor

Re: date from yyyymmdd stored as whole number

Thanks!Solved my problem!

Helpful resources

Announcements
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 33 members 870 guests
Please welcome our newest community members: