The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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:
Solved! Go to Solution.
Do you need it?
@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.
@Daniel23 , Create a new column
Type = Switch(True() ,
[Group] in {"A", "B"} , "Prod" ,
"Serv"
)
Add that into column on Matrix visual along with group
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.
User | Count |
---|---|
69 | |
69 | |
66 | |
54 | |
28 |
User | Count |
---|---|
112 | |
82 | |
66 | |
48 | |
43 |