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
Lazuriii
Frequent Visitor

Column names to single column

Hello,

 

The title might be misleading, but I try to explain my problem with a simple example, since I can't share the actual data. My dataset is connected to another dataset through DirectQuery. I don't have access to the original dataset due to company restrictions.

 

In the data, there is a table called 'Cost center' that describes the cost center hierarchy within the company. The cost centers are divided into 10 levels (Level 0, Level 10, ... , Level 90), where Level 90 is the "top level".

 

Here's an example:

 

Level 90Level 80Level 70
USAAdministrationWages
CanadaOperationsProduction

 

Now, the problem is that I want to create a slicer that has each level as a dropdown so that every Level can be seen when opening the dropdown.

 

Example: Cost Center level -> Level 90/Level 80/Level 70 (Now it is USA/Canada as the first choices)

 

I have been able to create a calculated table within the dataset that solves this problem, but unfortunately DirectQuery and calculated tables do not work together and I get an error stating that the dataset cannot be refreshed. Is there any way around this? The report currently uses bookmarks to create dropdown menus, but they are quite heavy to operate and make the report a bit clumsy to use.

2 REPLIES 2
whitch
Resolver I
Resolver I

Someone else in the company must manage the original dataset.  Ask them to add the column for you.  If you are not friends with this person/team, you will not be able to get anything done.  I don't just mean this specific issue: you will need this person/team many times in future too.  Escalate through your management structure if needed.  You literally cannot do your job without this support.

Luckily this is the only dataset that I need, which is managed by other people. But you are right that this is something that might need to be addressed.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Solution Authors