Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Mederic
Post Patron
Post Patron

Distinct number of orders per year

Hello everyone,

I have a data table in which I would like to count the number of distinct orders.
I have integrated my source into Power Pivot and selected the option "Distinct Count"

But it doesn't work. I would like to have the result in the table in green (see picture)
Do I need to go through a measure and if so which one?

Thank you in advance for your help

Regards

 

Pivot Table.jpg

 

POPOSTEDate PONameAmountCategorie

8900015121/03/2021ABC43A
8900015221/03/2021ABC64A
8900019117/05/2021DEF32B
8900019217/05/2021DEF-14B
8900019317/05/2021DEF16B
8900019417/05/2021DEF42B
8900027101/10/2022GHI34A
8900027201/10/2022GHI78A
8900028112/11/2022JKL120A
8900028212/11/2022JKL12A
8900028312/11/2022JKL-36A
8900028412/11/2022JKL-65A
8900032115/12/2022MNO67B
8900056113/01/2023OPQ135B
8900056213/01/2023OPQ24B
8900078118/02/2023RST78A
8900078218/02/2023RST-15A
8900078318/02/2023RST44A
1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

you need to create a mearsure

=DISTINCTCOUNT(Table[PO])

View solution in original post

2 REPLIES 2
wdx223_Daniel
Super User
Super User

you need to create a mearsure

=DISTINCTCOUNT(Table[PO])

Hello @wdx223_Daniel ,
As simple as that, thank you very much, it works very well,

Have a nice day

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.