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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
erb
Frequent Visitor

Rolling up counts of concatenated data

I have a data set capturing risks from 4 various groups, that could affet none to many of those same groups.  I am capturing the "affected" information as a multichoice checkbox and concatenating the data (example data below)

 

Line itemowneraffects
risk 1group 1group 2; group 3
risk 2group 2 
risk 3group 1group 2; group 3; group 4
risk 4group 3 
risk 5group 4group 2

 

I would like to add a pie chart to a dashboard that has the slices of the pie as "Group 1 - Group 4" with the value as "count of ID (line item) of occurance in "affects" column".  If I select group 3 in the pie chart, then I should see a full group 3 pie slice, and a partially full group 2 (2/3 full) with the above data set because of their relationship. 

 

Any ideas how to accomplish this?

 

FYI - my true number of groups is 13, using 4 as examplatory.

 

Thanks!

4 REPLIES 4
dramus
Continued Contributor
Continued Contributor

We covered something very similar yesterday. Check out this thread.

 

Split and unpivot your data.

erb
Frequent Visitor

So I split the column into rows using the delimeter, and that wokred well.  But now i have an error:

 

"column 'Id; in table 'risk & issues' contains dulicate value '10' and this is not allowed for columns on the one side of a many-to-one relationship or for oclumns that are used as the primary key table"

 

any thoughts on resolving this scenario?

dramus
Continued Contributor
Continued Contributor

I would expect there to be duplicates in that column. Check that the relationship is set up correctly.

 

Hi @erb,

There is no 10 your sample table, please share more details for further analysis.

Best Regards,
Angelia

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors