cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

How to effectively vizualize binary information?

Hi everyone,

 

I'm working on a dataset where I have project numbers associated with binary information about technologies (there's a bunch of them),

1 if the project contains a technology ;

0 if not.

 

Is there a way to effectively vizualise this type of information? I cannot really have a column stating what the technology is because some of the time a project is associated with more than one technology.

 

Maybe by modifying the source dataset? Or by another trick in PBI that I don't know?

 

The only thing I manged to do what this: Here

The modified version of my dataset: Here

 

Thanks in advance,

 

Alexis

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar
Resident Rockstar

Re: How to effectively vizualize binary information?

Hi @Alex31010 ,

I'm a little confused about your requirement. 

Do you want to show the count of 0 and 1 for each category?

Capture.PNG

If it is, you could try this below.

1. Unpivot other columns in query editor.

2. Create the two measures.

count of 0 =
CALCULATE (
    COUNT ( 'PME selon champs tech'[Value] ),
    FILTER (
        ALLEXCEPT ( 'PME selon champs tech', 'PME selon champs tech'[cate] ),
        'PME selon champs tech'[Value] = "0"
    )
)
count of 1 =
CALCULATE (
    COUNT ( 'PME selon champs tech'[Value] ),
    FILTER (
        ALLEXCEPT ( 'PME selon champs tech', 'PME selon champs tech'[cate] ),
        'PME selon champs tech'[Value] = "1"
    )
)

More details, you could refer to my attachement.

If you still need help, please share your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Resident Rockstar
Resident Rockstar

Re: How to effectively vizualize binary information?

Hi @Alex31010 ,

I'm a little confused about your requirement. 

Do you want to show the count of 0 and 1 for each category?

Capture.PNG

If it is, you could try this below.

1. Unpivot other columns in query editor.

2. Create the two measures.

count of 0 =
CALCULATE (
    COUNT ( 'PME selon champs tech'[Value] ),
    FILTER (
        ALLEXCEPT ( 'PME selon champs tech', 'PME selon champs tech'[cate] ),
        'PME selon champs tech'[Value] = "0"
    )
)
count of 1 =
CALCULATE (
    COUNT ( 'PME selon champs tech'[Value] ),
    FILTER (
        ALLEXCEPT ( 'PME selon champs tech', 'PME selon champs tech'[cate] ),
        'PME selon champs tech'[Value] = "1"
    )
)

More details, you could refer to my attachement.

If you still need help, please share your desired output so that we could help further on it.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Resident Rockstar
Resident Rockstar

Re: How to effectively vizualize binary information?

Hi @Alex31010 ,

Have you solved the problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share your data sample and your desired output.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors