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.
Good morning everyone,
I`m having some issues trying to find the correct formula in Power BI.
I have a large database and I want to analyse the group of people who don't speak Spanish.
For that i need to create a new column in my dashboard so that if in one row “Lucas P.” speaks “Spanish”, it would appear in the column (“Speaks Spanish”) as “Yes” for every “Lucas P.” row, as you can see in the example below.
Example
Name / Language / Speaks Spanish/
Lucas P. / Spanish/ Yes
Lucas P. / French/ Yes
Lucas P. / English/ Yes
Peter M. / Russian/ No
Peter M. / English/ No
Peter M. / French/ No
Would you guys please help me out?
Solved! Go to Solution.
@bust0sos , Try a new DAX column
var _cnt = countx(filter(Table, [Name] = earlier([Name]) && [Language] = "Spanish"),[Name])
return
if(isblank(_cnt), "No", "Yes")
@bust0sos , Try a new DAX column
var _cnt = countx(filter(Table, [Name] = earlier([Name]) && [Language] = "Spanish"),[Name])
return
if(isblank(_cnt), "No", "Yes")
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |