cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jpapador
Frequent Visitor

Cosmos: columns created using expand are blank after Power BI Service reload

I am connecting to Cosmos DB as my data source.  When developing in desktop the app loads and refreshes without issue but when I publish and reload from the service only the header fields from the JSON load, any attributes that were created using the expand function refresh blank (see attached).  The columns are still present but none of the data is loaded in.  I do not have any page level filters or boolean values in the dataset.  There is no data gateway involved as Cosmos is in Azure.

 

Refreshed using Power BI service then downloaded PBIXRefreshed using Power BI service then downloaded PBIX  

1 ACCEPTED SOLUTION
jpapador
Frequent Visitor

I was joining in a table from SQL in before I was expanding the columns.  When I moved the merge to after the columns were expanded it works.

View solution in original post

2 REPLIES 2
jpapador
Frequent Visitor

I was joining in a table from SQL in before I was expanding the columns.  When I moved the merge to after the columns were expanded it works.

v-shex-msft
Community Support
Community Support

HI @jpapador ,

I'm not so clarify for your scenario, can you please explain more about these?
1. How did you analyze these json data?
2. Can you confirm these json data field has same data structure?

How to Get Your Question Answered Quickly

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors