Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KBO
Memorable Member
Memorable Member

Change binary to date from SQL DB

Hi,

I would like to change the binary code from my timestamp column to a date. I try Text.FromBinary but than I get a question mark symbol. Can anybody help?

timestamp.png

 

 

 

 

 

 

 

 

 

 

 

 
1 ACCEPTED SOLUTION
KBO
Memorable Member
Memorable Member

Solved the problem - not complete but for my needs it is ok.

Used = Binary.ToList([timestamp])

Anmerkung 2019-12-02 164314.png

 

 

 

 

 

 

 

And than extract values.

So I have a counter, not time or date based  but it works :). If somebody had a solution with date and time I will try it :).

View solution in original post

4 REPLIES 4
KBO
Memorable Member
Memorable Member

Solved the problem - not complete but for my needs it is ok.

Used = Binary.ToList([timestamp])

Anmerkung 2019-12-02 164314.png

 

 

 

 

 

 

 

And than extract values.

So I have a counter, not time or date based  but it works :). If somebody had a solution with date and time I will try it :).

artemus
Microsoft Employee
Microsoft Employee

Looking at the binary value, it appears to just be the year number, since 0x7D1 is 2001

Jimmy801
Community Champion
Community Champion

Hello

I don't think that this time-stamp-value can be converted to a date, because it  does represent some kind of counter.

BR

Jimmy

KBO
Memorable Member
Memorable Member

So that is the problem, actually it is a counter. If I go to my PowerApp and add a value the column value changed at the end. If I change a data set in the power app the timestamp also changed and counted up. So I think it referes to the last action in the DB but how can I extract it into Power BI ... 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors