The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I need help with couting duplicated rows if there is data in at least one column.
As you can see in the date column there are duplicates. I want the date/hours to be counted only once, but only if there is data in at least one of "Count 1", "Count 2" or "Count 3".
Solved! Go to Solution.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
pls try this
Thanks! I combined your answer with @amitchandak's answer by adding [Date] at the end so that it only counted the registration as one.
Flag1 = IF(([Count1] + [Count2] + [Count3])>0, [Date])
@trndlnd , Try a measure like
Countrows(Summarize(filter(Table, [Count1] >0 || [Count2]>0 || [Count3]>0),Table[Date]))
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
246 | |
119 | |
114 | |
86 | |
70 |