cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ljm0zyb
New Member

How to Count Distinct Values in a Column

I need the count column to look like this.

ljm0zyb_0-1639057912564.png

 

1 ACCEPTED SOLUTION
jppv20
Solution Sage
Solution Sage

Hi @ljm0zyb ,

 

Create a column with this formula:

Count = CALCULATE(COUNT('Table'[Week Number]),ALLEXCEPT('Table','Table'[Week Number]))
 
If I answered your question, please mark it as a solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
jppv20
Solution Sage
Solution Sage

Hi @ljm0zyb ,

 

Create a column with this formula:

Count = CALCULATE(COUNT('Table'[Week Number]),ALLEXCEPT('Table','Table'[Week Number]))
 
If I answered your question, please mark it as a solution to help other members find it more quickly.

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!