Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello!
I need a help to create a new collunm at power BI using DAX. In my example I have a colunm1 with some values that are repeat. I need a collunm that count how many times the value is repeated:
Colunm1 | How many times |
A | 3 |
A | 3 |
A | 3 |
B | 2 |
B | 2 |
C | 4 |
C | 4 |
C | 4 |
C | 4 |
D | 1 |
Anybody can help me? Thanks a lot.
Solved! Go to Solution.
@Anonymous
New Col =
CALCULATE(
COUNTROWS( TableName),
ALLEXCEPT( TableName , TableName[Column1] )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
New Col =
CALCULATE(
COUNTROWS( TableName),
ALLEXCEPT( TableName , TableName[Column1] )
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
U need context transition:
CALCULATE(COUNT(Table[Column1]))
This creates a filter on the value in the first column, counting the unique filtered values.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |