Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hey guys,
So basically my dataset has order data for two markets combined into one. I manually combined them, but they have the same columns etc so it's okay. To distinguish between the two markets I've added a column which says 'Market' either 'England' or 'USA'
The issue is when I do a distinct count on order # to find out unique orders. Looks like both the markets have some similar Order IDs which causes an issue as distinct count would not count it as two, but as one. Is there any way past this or will I need to create two seperate views? Can I get a distinct count which sort of ignores duplicates ONLY if that duplicate belongs to another market?
Solved! Go to Solution.
@Jas1998 , Based on what I got, A new measure
countrows(Summarize(Table, Table[Market], Table[Order ID]) )
@Jas1998 , Based on what I got, A new measure
countrows(Summarize(Table, Table[Market], Table[Order ID]) )
Wow, thank you so much. Worked.
Can you take a minute to explain the logic to me? And how do I get a grip of these advanced formulas? I've only done a beginner course.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
94 | |
88 | |
32 | |
28 |
User | Count |
---|---|
153 | |
101 | |
82 | |
63 | |
52 |