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
Anonymous
Not applicable

Variable Repository

Hi all,

 

I am new with the Power BI technology and I was wondering if there's any way to create a repository of variables. It means, having a shared file where all the variables are declared and you can just load them with PowerBI.

This will allow us to re-use variables from different projects and also to centralize the expressions with no need to use Power BI in case that a correction is needed.

 

Thank you,
Jose

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

Do you mean template pbix file with variable query parameters? If this is a case, you can create template files and modify query parameters to generate a new report file.

Deep Dive into Query Parameters and Power BI Templates

Regards,

Xiaoxin Sheng

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

Hey @Anonymous 

Although many users have requested global variables, that isn't part of the product at this time. 

What your requesting is a bit different, but PBI doesn't have that capability either. You could try to work toward having standard measures in a PBI file, & then sharing that 'base' file with colleagues; however, the presumption then is that all colleagues will be working with the same data set, same table names, & same column names.

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.