Skip to main content
Solved

row count in a column


Forum|alt.badge.img

Hi Team,

 

I am working on task to check the number of rows in a column. I am using count of ATTRIBUTE_1 but not able to achieve it . can you please suggest a better approach. let me know if i miss anything.

 

Best answer by srija piratla

Hi @Karthikeyan ,

To check the number of rows in a column based on a dq rule. Please remove the attribute1 in the group by condition. This way it works.

I attached this DQ rule to monitoring project and ran it. 

Note - If you include attribute1 in the group by condition it will consider count of the attribute value instead of row. 

Hope this helps.

Regards,

Srija Piratla

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img
  • Ataccamer
  • 49 replies
  • Answer
  • June 6, 2024

Hi @Karthikeyan ,

To check the number of rows in a column based on a dq rule. Please remove the attribute1 in the group by condition. This way it works.

I attached this DQ rule to monitoring project and ran it. 

Note - If you include attribute1 in the group by condition it will consider count of the attribute value instead of row. 

Hope this helps.

Regards,

Srija Piratla


Forum|alt.badge.img
  • Author
  • Data Pioneer
  • 12 replies
  • June 7, 2024

Thanks @srija piratla it worked !!!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings