cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Dynamic DB name

Hi,

How to show dynamic database name in card visual? if it's Dev then DBname_Dev, if it's staging then DBname_Staging and same goes to prod as well. 

 

 

 

Regards,

Venkat

1 ACCEPTED SOLUTION
Community Support
Community Support

Hi, @Anonymous 

One of the most straightforward workaround is to add another column "DBname" to identify the database for  tables in each database.

 

You also can  check if the solution in this thread works for you.

https://community.powerbi.com/t5/Power-Query/Dynamically-retrieving-the-DB-name-from-the-source-in-a-column/m-p/1310317 

 

Best Regards,
Community Support Team _ Eason

 

 

 

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi, @Anonymous 

One of the most straightforward workaround is to add another column "DBname" to identify the database for  tables in each database.

 

You also can  check if the solution in this thread works for you.

https://community.powerbi.com/t5/Power-Query/Dynamically-retrieving-the-DB-name-from-the-source-in-a-column/m-p/1310317 

 

Best Regards,
Community Support Team _ Eason

 

 

 

View solution in original post

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors