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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.