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 August 31st. Request your voucher.
Dear friends
how can i create calculated column that shown no. of rows that contain values or text in column for each specific reference number
Example.
Ref. number | Values | calculate column |
1111 | a | 2 |
1111 | b | 2 |
1111 | ||
2222 | c | 1 |
2222 | ||
3333 | b | 1 |
3333 |
thanks in advance for any suggestions
Solved! Go to Solution.
@Anonymous , Create a new column like
countx(filter(Table, [Ref. number] =earlier([Ref. number]) && not(isblank([Values]))),[Values])