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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
NavaneethaRaju
Helper IV
Helper IV

Display data source file name in power Bi desktop

Hi,

 

I connected the excel data in power bi.
Now i want to display the file name in power bi desktop using text box or card or anything.

 

For Example, I use the Employee Master.xlsx. I want to display that name.

 

Please advice.

NavaneethaRaju_0-1647500493844.png

 

2 ACCEPTED SOLUTIONS
v-angzheng-msft
Community Support
Community Support

Hi, @NavaneethaRaju 
Steps.
1. Create a folder with the same name for the file, move the file to the folder, and use the folder connector in PowerBI to connect the folder to get the file data
2. Click on Transform Data to go to PowerQuery Editor
3. Remove other columns except for Content column and Name column. Combine files in Content column.
4. Remove several bottom steps untill you see Name column.
5.Remove Content column. Expand Transform File column
6. Show name with a card visual.

vangzhengmsft_0-1647927528859.png

vangzhengmsft_1-1647928012470.png

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @NavaneethaRaju 
Steps.
1. Create a folder with the same name for the file, move the file to the folder, and use the folder connector in PowerBI to connect the folder to get the file data
2. Click on Transform Data to go to PowerQuery Editor
3. Remove other columns except for Content column and Name column. Combine files in Content column.
4. Remove several bottom steps untill you see Name column.
5.Remove Content column. Expand Transform File column
6. Show name with a card visual.

vangzhengmsft_0-1647927528859.png

vangzhengmsft_1-1647928012470.png

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.