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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors