Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
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?"
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingAdvance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.