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

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
Post Prodigy
Post Prodigy

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
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.