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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Frixel
Post Prodigy
Post Prodigy

How to get a relative filter by importing "get data" in Service version

Hi all,

 

What are the conditions to import a .csv sharepoint file in Power Bi service with the "Get data" function left under in the service to create a "Relative Date" date filter?

 

4.png

 

I can't manage to get that relative filter there.
I definitely want to do that in the service version via the "Get data" function because I then also get the one-drive connector in the settings for continuous renewal of the file.

 

I hope someone can help me because I can't figure it out.

10 REPLIES 10
v-easonf-msft
Community Support
Community Support

Hi , @Frixel 

I can successfully link to my csv through the web url, but I can't reproduce the filter problem you encountered. Everything works well on my side.

1.png

3.png

5.png

7.png

8.png

Please follow these steps:

PS: 1.check the type of your field "Date",make sure it is a field with a date hierarchy

      2.when you applied the field in your table visual ,make sure you have selected the "Date" rather than "Date Hierarchy"

 

my test csv 

 

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

 

Hi @v-easonf-msft 

 

Okè then we have the date, but i want to have it in the Power Bi service(online) version.

When you publish it from the desktop version then you don`t have the onedrive connector in the  Power Bi service(online) version like this.

 

1.png

 

 

Hi , @Frixel 

Yes , you will not find the option of onedrive connector.

And you only need to edit your datasource credentials  .

 

15.png

17.png

 

 

Please refer to this document .

https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-onedrive

 

After the file changes on sharepoint, OneDrive refresh will be triggered or within one hour. You can check it in the refresh history ->OneDrive refresh

 

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

 

 

Hi @v-easonf-msft 

 

I do it as you sugested but also i have not a OneDrive connector in the settings.

Also when the sharepoint file is updated, nothing to see in refresh history.

 

1.png

 

2.png

When i click the "Refresh now" manual then the file is updated 1 time.

2.png

 

But only for Scheduled and not for the OneDrive. 

 

1.png

Hi , @Frixel 

Eh, I am sorry that I just found  that I have encountered the same situation, I  can only find  scheduled refresh in  refresh history.

However, if I  try  to connect to the  file on onedrive, I can successfully perform onedrive refresh.

 

I’m still investigating, and I will update here if have any results

 

Best Regards,
Community Support Team _ Eason

 

GilbertQ
Super User
Super User

Hi there

You can still import the CSV into Power BI via OneDrive

If you save the Power BI PBIX to OneDrive and then get the PBIX from OneDrive that will auto refresh every hour.

But there is a caveat that if you change the location of your PBIX in OneDrive it gives it an underlying new GUID which will cause your automated refresh to stop working.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi @GilbertQ 

 

If i do this how do i open the PBIX in the power Bi service(online) version?

Hi , @Frixel 

You can create a workspace ->get data->file ->local file ,then chose the pbix file to upload your file to service from desktop .

You also can publish you pbix to  exsiting workspace  in service directly.

14.png

 

Then you can edit and share your the report in  service workspace.

 

Best Regards,
Community Support Team _ Eason

Hi @v-easonf-msft 

 

Thanks for that but,

then I still do not have the OneDrive Connector.

 

1.png

 

I want to have that because then i have a realtime refresh of the file.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.