Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I would like to carry out audits using a powerbi of data extracted in excel but on PowerBi. The expected result is as follows:
The excel table contains parameter names in the header and values according to component type.
The red column WCA_ebkp_2012 should be in the first column of my table. The other columns should be in the second column, sorted according to the values in the 1st column. The 3rd column should count the number of empty values and the 4th value the total number of IDs.
If I take an example, the value D3.3 in column WCA_eBKP_2012 has 58 occurrences of parameter WCA_NameManufacturer and 0 have the value of filled.
Thank you very much for your help
Solved! Go to Solution.
Hi , @Atoma
According to your description, you want to calculate the balnk count of the parameters which is your column headers and the percentage of filled.
Here are the steps you can refet to :
(1)This is my test data:
(2)First, we need to unpivot the table in Power Query Editor. We need to check your params columns type is "Text":
And then we need to select the first column and click "unpivot other columns":
Then we can get the table as follows and we can apply the data to Desktop.
(3)Then we can create three measures like this:
Blank Count = CALCULATE( COUNT('Table'[Value]) , 'Table'[Value]<> BLANK())+0
Total Count = COUNT('Table'[Value])
Percentage = DIVIDE([Total Count]- [Blank Count] , [Total Count])
(4)Then we can put the fields and the measures on the visual and we can get the result as follows:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Atoma
According to your description, you want to calculate the balnk count of the parameters which is your column headers and the percentage of filled.
Here are the steps you can refet to :
(1)This is my test data:
(2)First, we need to unpivot the table in Power Query Editor. We need to check your params columns type is "Text":
And then we need to select the first column and click "unpivot other columns":
Then we can get the table as follows and we can apply the data to Desktop.
(3)Then we can create three measures like this:
Blank Count = CALCULATE( COUNT('Table'[Value]) , 'Table'[Value]<> BLANK())+0
Total Count = COUNT('Table'[Value])
Percentage = DIVIDE([Total Count]- [Blank Count] , [Total Count])
(4)Then we can put the fields and the measures on the visual and we can get the result as follows:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thank you very much Aniya. I've just replaced the null values with nothing as I've set up a database which will be updated regularly.
And I put the formula Countblanck instead to count the empty cells.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
18 | |
18 | |
13 | |
12 |
User | Count |
---|---|
35 | |
22 | |
21 | |
18 | |
12 |