Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
Fairly new to Power Bi and I am trying to put into a chart the number of projects that have submitted or missing documents.
There are about 7 different "documents" in seperate columns that have a primary key being the "Project's ID". Each Project will have either a "yes", "no", or "NA" value for each document column. I now I want to display in power BI desktop the number of projects and the corresponding document that they have said "yes" to and the projects that said "no" and what the documents were.
I've tried assigning the text into 1,2,3 data values and seeing if I can display it like that but it seems I am only getting a count and don't know how to isolate them into seperate views - the yes, the no, the NA.
Thank you for your help!
Solved! Go to Solution.
Hi @aammk,
I just create the sample file based on your case description, assume that you have similar dataset with the table testCountPro in below screenshot.
First, translate these documents columns into attribute-value pairs
Then create one calculated colum calSta:
calSta = SWITCH('testCountPro2'[Value],"Yes",1,"No",2,"NA",3)
Finally, create one matrix visual, put the related fields onto matrix as below:
If the above method is not applicable in your scenario, please provide the related table structure and sample data.
Best Regards
Rena
Hi @aammk,
I just create the sample file based on your case description, assume that you have similar dataset with the table testCountPro in below screenshot.
First, translate these documents columns into attribute-value pairs
Then create one calculated colum calSta:
calSta = SWITCH('testCountPro2'[Value],"Yes",1,"No",2,"NA",3)
Finally, create one matrix visual, put the related fields onto matrix as below:
If the above method is not applicable in your scenario, please provide the related table structure and sample data.
Best Regards
Rena
Hi Rena,
The dataset you created is exactly the type I am using and your steps were easy to follow, much appreciated!
Thank you,
Andrew
Hi @aammk ,
could you provide some sample data?
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |