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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Issue uploading dates into R

Hi,

 

I am trying to upload two columns ("timestamp" and "value" from my query into R so I can create some process control charts using some features in R.

 

However, when I click to import the timestamp into R it imports it as a dataframe(value, Year, Quarter, Month, Day) which prevents me from being able to create even a simple graph of a continuous date on the x-axis and value on the y axis.

 

Can someone please show me how to fix this?

1 REPLY 1
v-lili6-msft
Community Support
Community Support

HI, @Anonymous

It may due to Hierarchy feature for Date field like this:

 

8

Then you can disable it by right-click date field

9

Then use R code

Result:

 

10

 

Best Regards,

Lin

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.