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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Marcin
Helper V
Helper V

Refreshing data issue

Hi,

 

I have this problem, I made a report with PowerBI desktop , data source is SSAS with Live Connection mode. In report I have created custom measure which filters data with username value that is currentlu logged in :

 

IF(MAX(Users[Email])=LOWER(USERNAME()),1,0) 

 

then I used this measure as visual filter in few charts and tables.  I all works in Power BI desktop and filter works correctly. 

 

After publishing this report into Power BI service dataset is not refreshing and source is still Live Connection to SSAS. 

 

When I click "Refresh" button 1234.png

 

then charts show correct data, but when I go to another report or close Power BI service then problem shows again that charts show data that are not updated ... 

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Marcin,

 

Do you mean Live Connection is Direct Query? If so, the result will be always up-to-date. Could you please post more details about the error? BTW, Direct Query needs Gateway to work.

Refreshing data issue.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best Regards!

Dale

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

I am using direct query to SSAS that is on Azure service so I don't need Gateway I think.  

 

This is screen from dataset options : 

 

1234.png

 

But now I have changed the measure that filters data per user instead that I mentioned above  for that : 

 

 Sumx(FILTER(Events, Lower(RELATED(Users[Email]))=Lower(USERNAME())), 'Events'[Days Vacation]) 

 

and now it works , all charts are updated correctly. 

 

But there is still problem with tile's contaning data with local report measures , when I pin this tile to dashboard I get error:

 

1234.png

12345.png

Hi @Marcin,

 

Please reference this post: Error-Unrecognized-fields-in-visual-in-powerBI. Just the same like yours. It would help.  

 

 

Best Regards!

Dale

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

Hi @v-jiascu-msft

 

thanks for response , but I am using SSAS tabular mode and there is only one model , second thing is that this SSAS model is on Azure service so I don't need to use gateway in this case. 

 

We don't have any on-premises serwers at this moment in my organization so I can only get data form Azure serivces.

 

I can't create any custom measure in report because of this issue mentioned above, I have to add this measue into my SSAS model so I can use it, event for one report which is pretty uncomfortable.

 

I will be glad for help with this case . 

 

Marcin 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors