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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Akhil_0101
New Member

If a column1 contains specific text, give me output from the list on another column

Hi,

 

I'm currently working to learn Power BI in order to build a reporting dashboard. I have health status report (CSV file) of my 3 servers which are located in 3 different regions and I want to visulize them on MAP in power BI. There is no location column or detail in status report so I want to create a location colum in query editor which will give me location name based on the server name. Which DAX function would be usefull in this scenario? Please help.

1 REPLY 1
edhans
Super User
Super User

As far as I know, there is no way to get the server name or database name, or table name for that matter, of data you are connecting to. That is metadata above the level of the Query. You'd have to use Parameters or variables to pass through to the functions that call the databases, tables, etc. and then also evaluate those parameters or variables separately, but there is no function inside a query that can say "what server/database/table/view is this data coming from?"



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors