cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to don't display last row in a matrix compressed

Hi i'm using power bi from 2 days so I need help with this problem,

sioriann_0-1653292274712.png

I have this matrix.

Is composed from parent project(id 1 2 3 4 5) and their son( id a b c ...)

Each row is group by parent id, but when a row is compressed(like id 3) i would not show "prime issue type son", because it shows last son attribute but it should be empty if compressed( a father can have a lot of sons).

Thank you in advice for help.

4 REPLIES 4
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

May I ask if your problem has been solved? Did Shishir22's post above help you? If any of the posts are helpful, then please consider Accepting it as a Solution to help other members find it faster. Many thanks!

 

How to Get Your Question Answered Quickly

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Shishir22
Super User
Super User

You can create measure as -

 

[Prime issue father type]= Min(Prime issue father type)

And try inscope measure on top of this measure.

 

Please mark it as answer if it solves your issue. Kudos are also appreciated.

 

Cheers,
Shishir
Shishir22
Super User
Super User

Hello @Anonymous ,

 

Assuming [Prime issue father type] is already a measure

You can try a new measure on top of it something like -

 

If(inscope(sonid), [Prime issue father type], blank())

 

Please mark it answer if it solves your issue. Kudos are also appreciated.

 

Cheers,
Shishir
Anonymous
Not applicable

Thanks for your help it works with a measure but that value are from the table that i have imported. Is there any way to make the same with this kind of data? 

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.