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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Jurga
Regular Visitor

How to calculate the audit date and assign it to the auditor's

Hi everyone,

I need to visualization in power BI how many times auditors have audit per quarter. In table have column audits date and auditor. Can you help me with this problem ?

thank you

 

SAMPLE

 Audit date    Auditor

18.10.2023John
18.10.2023John
18.10.2023John
18.10.2023John
18.10.2023John
18.10.2023George
20.10.2023George
20.10.2023George
20.10.2023George
20.10.2023George
20.10.2023George
1.12.2023George
20.10.2023George
20.10.2023Ivy
20.10.2023Ivy
20.10.2023Ivy
20.10.2023Ivy
1.12.2023Ivy
1.12.2023Ivy
20.10.2023Ivy
20.10.2023Ivy
20.10.2023Ivy
20.10.2023Ivy
1 ACCEPTED SOLUTION

Hi @Jurga 
modify the measure for :

Count audits distinct = DISTINCTCOUNT('Table'[Date])
Ritaf1983_0-1712052074743.png

The updated Pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
Ritaf1983
Super User
Super User

Hi @Jurga 
If I understood you correctly the wanted result is something like this :

Ritaf1983_0-1712047592312.png

Then the short solution is to add a column for the quarter :

Ritaf1983_1-1712047640034.png

and basic measure like :

Count audits = COUNTROWS()
Ritaf1983_2-1712047695146.png

 

pbix is attached 

 

For a more efficient way and other measures the best practice is to create a dim table with needed columns of periods and work with it.

For more information please refer :

https://www.youtube.com/watch?v=s2FeGeJtzSE

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi @Ritaf1983 ,

thank you it is helpful but I have one more request regarding calculate date. If I have same date and name must be just one audit.

example:

Jurga_0-1712051257376.png

 

 

Hi @Jurga 
modify the measure for :

Count audits distinct = DISTINCTCOUNT('Table'[Date])
Ritaf1983_0-1712052074743.png

The updated Pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Arul
Super User
Super User

@Jurga ,

Are you expecting this?

Arul_0-1712046751231.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.