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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.