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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.