Hi I am quite new to power bi and trying to learn how to use DAX and other power bi queries. I have been trying but not able to get what I want from my below query.
I hope someone can help.
I have same data in below 2 formats and I want the output table as below. Any data table can be used to get the output
Data table 1 with format 1
Rolename status hostname
Role-A HELD Server-A
Role-A NOT HELD Server-B
Role-A NOT HELD Server-C
Role-B HELD Server-A
Role-B HELD Server-B
Role-B NOT HELD Server-C
Role-C NOT HELD Server-A
Role-C NOT HELD Server-B
Role-C NOT HELD Server-C
Data table 2 format 2
Rolename status hostname status hostname status hostname
Role-A HELD Server-A NOT HELD Server-B NOT HELD Server-C
Role-B HELD Server-A HELD Server-B NOT HELD Server-C
Role-C NOT HELD Server-A HELD Server-B NOT HELD Server-C
I want the output in a table like this as below or How can I display the above table data in Visualization using any graph/filter which can show below output ???
Output Table Format (should contain all unique role names even if no role is HELD against it)
Rolename Server-A Server-B Server-C
Role-A HELD
Role-B HELD HELD
Role-C
I hope someone can help.
I have same data in below 2 formats and I want the output table as below. Any data table can be used to get the output
Data table 1 with format 1
Rolename status hostname
Role-A HELD Server-A
Role-A NOT HELD Server-B
Role-A NOT HELD Server-C
Role-B HELD Server-A
Role-B HELD Server-B
Role-B NOT HELD Server-C
Role-C NOT HELD Server-A
Role-C NOT HELD Server-B
Role-C NOT HELD Server-C
Data table 2 format 2
Rolename status hostname status hostname status hostname
Role-A HELD Server-A NOT HELD Server-B NOT HELD Server-C
Role-B HELD Server-A HELD Server-B NOT HELD Server-C
Role-C NOT HELD Server-A HELD Server-B NOT HELD Server-C
I want the output in a table like this as below or How can I display the above table data in Visualization using any graph/filter which can show below output ???
Output Table Format (should contain all unique role names even if no role is HELD against it)
Rolename Server-A Server-B Server-C
Role-A HELD
Role-B HELD HELD
Role-C