Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I'm trying to write a kind of "data glossary" report, where I went to detail all of the column and column descriptions from various reports. I'm trying to use the SemPy library to do this, but can't seem to figure out how to get the column descriptions.
I've looked at several articles, e.g., this one: (25) Document your fabric datasets using the semantic link and ChatGPT API | LinkedIn and can successfully get a list of all tables and their columns, but I can't get their column descriptions.
Solved! Go to Solution.
This works for me:
import sempy.fabric as fabric
display(fabric.list_columns("DatasetName"))
Well, I don't actually have column descriptions in my test dataset... But if I had, I think they would show here:
This works for me:
import sempy.fabric as fabric
display(fabric.list_columns("DatasetName"))
Well, I don't actually have column descriptions in my test dataset... But if I had, I think they would show here:
Hi @PetyrBaelish,
I'd like to suggest you try to use Semantic functions to list all of the workspace items: (it will include the id, name, description, type and workspace id)
import sempy.fabric as fabric
# Get the items of this workspace
workspace_items=fabric.list_items()
# Filter by type to get DataPipeline list
#itemList= workspace_items[workspace_items.Type == "DataPipeline"]
display(workspace_items)
Semantic functions - Microsoft Fabric | Microsoft Learn
Regards,
Xiaoxin Sheng
Thanks @OR the response, but that hasn't answered my question. I already have a list of workspaces and semantic models. I can also get the columns that are in the semantic models, but what I'm struggling tog et is the column d3escriptions. Do you know how I can get these?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.