The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
Hi @Alex31010 ,
I'm a little confused about your requirement.
Do you want to show the count of 0 and 1 for each category?
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
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
Hi @Alex31010 ,
I'm a little confused about your requirement.
Do you want to show the count of 0 and 1 for each category?
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
75 | |
52 | |
50 |
User | Count |
---|---|
133 | |
124 | |
78 | |
64 | |
61 |