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

Top Solution Authors
Top Kudoed Authors