Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello guys im new here, hope to get some help and share my knowledge.
Okay so the issue here is that I have two columns that has prefered store and closest store by country, but the code of the prefered store might be in the closest store too.
I want to distinc count so i could have the count of Stores per country using their codes.
Anything ?
@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Idk if you get what i mean, for example for UK i want the distinct count of shops from the two columns
thanks
Hi, @Anonymous
Create measures as below:
distinct cloest shop = CALCULATE(DISTINCTCOUNT('Table'[Closest shop]),ALLEXCEPT('Table','Table'[Country]))
distinct Prefared shop = CALCULATE(DISTINCTCOUNT('Table'[Prefared shop]),ALLEXCEPT('Table','Table'[Country]))
For more details,please check the attached pbix file.
Best Regards,
Community Support Team _ Eason
My point is that i want to distinct count of shops for the two columns, because one shop might be in the two columns too.
Hi, @No_chill
Not very clear.
Could you show you expected result in excel?
Best Regards,
Community Support Team _ Eason
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |