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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors