This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi Power BI community,
I need your help. I am trying to create a Python visual in Power BI Desktop; the code works fine, but the visual doesn't load the data from the data model into the dataframe. Therefore the graphs remain empty.
It's really frustrating...
You'll find an example - screenshot - down below.
(Excuse the child's painting)
Some background information:
Could it be that there a limitations when using a pre build Power BI-Dataset?
- Maybe it's my limited access
I would be extremely thankful if someone has a clue or solution for this problem!
Thanks in advance.
Best regards,
Felix
You may have filters on your Values A and B that result in an empty dataframe? Hard to tell without more context.
@lbendlin Thanks for your Input.
I think I know the reason; it seems that it has something to do with the Power BI dataset from my employer. Maybe some sort of restricions. (I have limited access to the dataset. I can use it, but can't make any changes. Can't even use the power query editor)
I tried it with data from an Excel sheet and the Python visual worked perfectly fine.
Possible Solutions:
A - I need to find a workaround, to exctract the data from the system and import it into Power BI
B - I need to get some special authorization / access to the dataset (Which is highly unlikely)
Any other ideas are welcome 🙏
Best,
Felix
@Anonymous You are supposed to use the prefilled "dataset" dataframe, not fill your own.
@lbendlin I know. That's the point of my question, the "prefilled dataset dataframe" is not loading by itself. Any idea what's the reason?
Best,
Felix
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |