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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

how to have global variables in PowerBI

hi,

 

I need to pass filtered value from one table to another for calculation.

 

Please note that the two tables cannot be connected through relationship.

 

I think some thing like Global variable can help here.

 

Please suggest.

 

Regards,

Deeksha

3 REPLIES 3
siddheshmane
Regular Visitor

Hi @Anonymous ,

 

Have you tried creating measure that just stores the variable value. and then refer the measure in your second table.  Let me know if this works for you.

 

Regards,

Siddhesh H Mane.

DouweMeer
Impactful Individual
Impactful Individual

Hello @Anonymous 

Global variable sounds like a IT slang. Can you put it in dummy language?

Is this something like an FX rate variable? 

v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Do you mean to define a "Global varible" in dax formula which can be refered by each table? If that's what you mean, I'm afraid currently dax doesn't have such feature, the variable can only be used in the same dax formula.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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