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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Daniel23
Frequent Visitor

Add same value into multiple "data groups"

Hi,

 

I have a case, where I need to add values from a dimension table column into multiple data groups. The built-in funtion for this in Power BI does not seem to support this (you can only add 1 value into 1 group). Is there a workaround ?

 

I have tried to illustrate what i am trying to do:

Daniel23_1-1672178108077.png

 

 

1 ACCEPTED SOLUTION

8 REPLIES 8
RafaelRSantosBR
Regular Visitor

@Ahmed do you still have the file?

Sample PBIX file attached

 

Ahmedx
Super User
Super User

Do you need it?

Screen Capture #190.png

@Ahmedx Yes! How? 

@Ahmedx Thank you, it makes sense!
I ended up without a relation of the new table you created to the fact table. I dont have column in fact table with group, this exists only in dimension. But your approach works anyway.

amitchandak
Super User
Super User

@Daniel23 , Create a new column 

 

Type = Switch(True() ,

[Group] in {"A", "B"} , "Prod" ,

"Serv"

)

 

Add that into column on Matrix visual along with group

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

Thanks for the suggestion. I dont understand how this will work though. If I add to columns in Matrix visual along with another, f.x. the group, the matrix visual will create a hierarchy display. I want to flatten it so that it is shown on the same row.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.