Forum Discussion
Chart creation from Survey Data
I have the following data coming from a survey:
How can i create a chart which clearly shows which countries are "ISO 17025 Certified" and which countries are "WHO prequalified".
Thanking you in advance.
Chris
Hi Chitemerere ,
one part of the solution with Power Query, the other with DAX and conditional formatting.
You can download my solution pbix-file until ...
One part of the solution with Power Query, the other with DAX and conditional fomatting
Regards FrankAT
5 Replies
- FrankATCommunity Champion
Hi Chitemerere ,
one part of the solution with Power Query, the other with DAX and conditional formatting.
You can download my solution pbix-file until ...
One part of the solution with Power Query, the other with DAX and conditional fomatting
Regards FrankAT
- ChitemerereResponsive Resident
Thank you very much, most appreciated. Would be kind enough to explain the Power Query Process?
Regards,
Chris
- FrankATCommunity Champion
Hi Chitemerere ,
here is my explanation of the Power Query part:
- Duplicating the NQCLStatus column.
- Adding a custom column: How long is the string in column NQCLStatus?
- Replaced the substring "ISO 17025" with "" inside the NQCLSTatus column. If the string contains this substring the original textlength is now shorter.
- Adding a custom column: How long is the shortened NQCLStatus string?
- In the duplicated column NQCLStatus - Copy I replaced the substring "WHO".
- Adding a custom column: How long is the shortened NQCLStatus string in column NQCLStatus - Copy. Same as 3..
- Adding conditional column ISO 17025 Certified: If the TextLengthFull <> NewTextLengthISO then 1 otherwise 0.
- Adding conditional column WHO prequalified: If the TextLengthFull <> NewTextLengthWHO then 1 otherwise 0.
- Removed unnecessary columns.
- Changed data type.
That's it.
Regards FrankAT