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

dimension table wild card

Hi,

 

I have a group of manufacturers that fit into three categories:

 

Buying Group

Preferred

"All Others"

 

Right now, my dimension table has vendors in categories 1 and 2.  Is there a way to designate any manufacturer that isn't in category 1 or 2 as "other Manufactuer?"  Right now, they show up in my report is blank because they aren't listed specifically in my dimension table.

 

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@gellismyers -

You need to create the table that has the same columns as your dimension table.

Then, for each column, add values which indicate that it's Unknown or N/A.

One way you can accomplish this is with Enter Data:

Add Data.PNG

Cheers!

Nathan

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@gellismyers - In Power Query M script, you could use Table.InsertRows to add a default row to your dimension table.

 

More interface-friendly way, also in Power Query: Add a new table with your single row, then Append it to your dimension table.

Sorry.  I can't find any good info on this online.  What would my single row table look like?

 

Thank you

Anonymous
Not applicable

@gellismyers -

You need to create the table that has the same columns as your dimension table.

Then, for each column, add values which indicate that it's Unknown or N/A.

One way you can accomplish this is with Enter Data:

Add Data.PNG

Cheers!

Nathan

Great, thank you.  I will give it a shot.

 

Cheers,

 

Geoff

Okay, I will do a little research to figure out how to do that.  I am a relatively new user but I've learned a lot.

 

Thanks a ton!

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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