The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello there. I need help for my problem here. Let say the table is below:
Date tested | Equipment no. | Red cable | Yellow cable | Blue cable |
24/2/2019 | TRU1 | 0.1 | 0.1 | 0.1 |
25/2/2019 | TRU2 | 0.12 | 0.11 | 0.1 |
25/2/2019 | TRU3 | 0.1 | 0.11 | 0.12 |
2/3/2020 | TRU1 | 0.2 | 0.21 | 0.22 |
4/3/2020 | TRU3 | 0.21 | 0.2 | 0.21 |
5/6/2021 | TRU1 | 0.3 | 0.3 | 0.3 |
Then, I want to create table/column that will count the number of test for each equipment. The new table should be like this:
Equipment | No. of test done |
TRU1 | 3 |
TRU2 | 1 |
TRU3 | 2 |
I hope you guys can help me. Thank you in advance.
Solved! Go to Solution.
HI @abgnfirdaus ,
Create a column with below code just in case if any of the column is blank
Column = COALESCE('Table'[Red cable ],'Table'[Yellow cable],'Table'[Blue cable])
then use this new column as count on your visual
output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
HI @abgnfirdaus ,
Create a column with below code just in case if any of the column is blank
Column = COALESCE('Table'[Red cable ],'Table'[Yellow cable],'Table'[Blue cable])
then use this new column as count on your visual
output:-
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
How to create a custom column to count how frequent the equipment have been tested.
Table 1:
Date Tested | Equipment | Red cable | Yellow cable | Blue cable |
1/2/2018 | TRU 1 | 0.1 | 0.12 | 0.1 |
2/2/2018 | TRU 2 | 0.12 | 0.14 | 0.12 |
2/2/2018 | TRU 3 | 0.12 | 0.11 | 0.1 |
3/4/2020 | TRU 2 | 0.2 | 0.24 | 0.21 |
5/4/2020 | TRU3 | 0.21 | 0.22 | 0.21 |
4/6/2021 | TRU3 | 0.31 | 0.36 | 0.31 |
I want to create new column that will count the frequency of equipment have been tested. The table should show like this:
Equipment | Count of test |
TRU 1 | 1 |
TRU 2 | 2 |
TRU 3 | 3 |
Hope you guys can help me. thank you in adavance.
Hi @abgnfirdaus ,
You can refer to below thread:-
https://community.powerbi.com/t5/Desktop/count-test-frequency/m-p/2290371#M830064
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin