Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have 1 table where I need to add 1 to each row of a column which will be a unit count column such as the following
column 1 unit count
aaa 1
abc 1
abb 1
acb 1
acc 1
etc...
Solved! Go to Solution.
Answered my own question. really simple to do. create calculated column type: Unit Count = 1
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new column.
Unit Count CC =
VAR currentitem = Data[Column1]
RETURN
COUNTROWS ( FILTER ( Data, Data[Column1] = currentitem ) )
Answered my own question. really simple to do. create calculated column type: Unit Count = 1
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |