Forum Discussion
united2win
Helper III
4 years agoCountrows DAX help
Hi, I have the following table, looking to create a column with a DAX formula that identies if a Seller has a German Registration. Can anoyne provide that formula pls? I was hoping it would be simpl...
- 4 years ago
I just added the country as so:
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! ☺
NickolajJessen
Solution Sage
4 years agoI feel like this post was also here yesterday..
Specify what you already tried. Specify what suggestions were made yesterday that didn't work.
Are you looking to do it in a measure or a calculated column? Do you have acces to edit the data in power Query?
united2win
Helper III
4 years agoHi,
Below was already tried, and like mentioned on the other post, it's only returning "Yes" for the German jurisdictions. I'm trying to create a calculated column and yes I have access to power query.
Has German Adress =
VAR vSellerCurrentRow = SellerTable[Seller]
RETURN
IF (
CALCULATE (
COUNTROWS ( SellerTable ),
SellerTable[Seller] = vSellerCurrentRow,
SellerTable[Country] = "Germany"
) > 0,
"Yes",
BLANK ()