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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ayrat
New Member

Connecting Big Query tables with partitioning

I have a database which contains a table named app_events. App_events table uses partitioning based on dates. As a result, every day I get a new table with naming app_events_YYYYMMDD. 

 

When I query this table I can use a query using a wildcard like app_events_*, so every partition will be queried. 

To connect the same table in Power BI I need to check each partition in Navigator menu. Also, next day I should manually append new partition to reports database. 

Is there any other solution to automate this process?

 

#Google, #BigQuery, #Partitioning

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@ayrat,

You can define parameter in Power BI Desktop to solve the above issue.

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/

Regards,
Lydia

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

View solution in original post

3 REPLIES 3
gbsarg
Regular Visitor

Hi @ayrat

 

Did you manage to solve your issue using parameters? Would you please post a brief step by step tutorial? I am having the exact same issue and cannot figure it out. 

 

Thanks!

v-yuezhe-msft
Employee
Employee

@ayrat,

You can define parameter in Power BI Desktop to solve the above issue.

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/

Regards,
Lydia

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

I have a database which contains a table named app_events. App_events table uses partitioning based on dates. As a result, every day I get a new table with naming app_events_YYYYMMDD. 

 

When I query this table I can use a query using a wildcard like app_events_*, so every partition will be queried. 

To connect the same table in Power BI I need to check each partition in Navigator menu. Also, next day I should manually append new partition to reports database. 

Is there any other solution to automate this process?

 

#Google, #BigQuery, #Partitioning

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors