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
jeremiels
Frequent Visitor

Problem for consolidating data

Hello,

 

I'm trying to have a consolidate results but I have difficulties to do it.

 

My database is the following:

 

Sub entity           Code          Coverage

 

Sub entity 1         01            Covered

Sub entity 2         01            Covered

Sub entity 3         01            Covered

Sub entity 1         02            Partially

Sub entity 2         02            Covered

Sub entity 3         02            Covered

Sub entity 1         03            Not covered

Sub entity 2         03            Not covered

Sub entity 3         03            Not covered

 

When I build a chart per sub entity representing the number of codes per coverage, I have no problem. However, if I select all the sub entities, I would like to have a consolidate view taking into account the following rules : if all are covered then it is covered, if all are not covered, then it is not covered, otherwise, it is partially covered.

 

Sub entity           Code          Coverage

 

Entity                   01            Covered

Entity                   02            Partially

Entity                   03            Not covered

 

I'm not sure about what I need to do (creating a column or a measure).

 

Could you help with this issue?

Jérémie

 

 

 

1 ACCEPTED SOLUTION
cs_skit
Resolver IV
Resolver IV

I think this measure should work:

 

 

be aware I used "nc" for "not covered" and "p" for "partially" so you have to correct that

View solution in original post

2 REPLIES 2
cs_skit
Resolver IV
Resolver IV

I think this measure should work:

 

 

be aware I used "nc" for "not covered" and "p" for "partially" so you have to correct that

Great! It works. Thank you

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.