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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Karlie69
Regular Visitor

I can't see the data in Power BI, in the database - yes

Hope this post was posted in the appropriate section.

 

I have a query with several union all. In each subquery, I have a column called DATATYPE (Budget, Reserved, Invoiced).

 

One subquery is for budget (2015-2021). I added another union all because the budget for 2022 refers to a different view in the database (Oracle). And while in the database I see budget values for 2022, when I load this query into Power BI, I still only have values for 2015-2021 (of course, I refreshed the data more than once).

 

Does anyone have an idea why this is happening? 🙂 I can see data for 2015-2022 in the database without any problems.

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Ok, it's almost certainly something to do with the security on the SQL database. At a guess some SQL RLS is kicking in.

 

When you connect to the view directly in oracle sql are you using the same logins as power bi? 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

6 REPLIES 6
Karlie69
Regular Visitor

No, unfortunately I have an empty table then

bcdobbs
Community Champion
Community Champion

Ok, it's almost certainly something to do with the security on the SQL database. At a guess some SQL RLS is kicking in.

 

When you connect to the view directly in oracle sql are you using the same logins as power bi? 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Karlie69
Regular Visitor

The data doesn't even appear in Power Query.

I was also wondering about the date format, but in the other "union all" the format is the same and everything is displayed correctly in Power BI.

bcdobbs
Community Champion
Community Champion

Is data not showing in a visual or is it not appearing if you go directly and look at the table view?

 

Wondering if you have an issue with your date table.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Community Champion
Community Champion

If you simplify it and just connect directly to the 2022 view do you get any data back?

 

 



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Yes, I use the same. But you're right, it could have something to do with the 2022 view link. I'll check it out tomorrow at work.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors