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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Taylormade
Regular Visitor

Count dates with string value

Good Day,

I'm newbie at Power BI hopefully this is a simple question. I have a two tables: Table 1 has last completed dates and second column which has a string value it shows only if your "Current" within 1 yr of training or "Out of Date" outside yr window. Table 2 show name of courses. What I'm looking to get some help with is how to show on matrix report Name course with sum total of how many are current or out of date and drill down to show user and last completed date.

 

fd48e6e3-a550-43d4-812b-c20bb5dccbf1.png

User last completed datesScreenshot .png

Thanks for advance help!

 

6 REPLIES 6
Taylormade
Regular Visitor

Screenshot Courses data.png

Screenshot Courses with dates.png

Thanks for the response. Attach is two sample report, which shows columns and tables related too.  Hopefully this what your looking for.

Anonymous
Not applicable

Hi, @Taylormade 

 

Sorry for not being able to fully understand your question. Can you give an example of where your calculations came from with sample data?

 

Best Regards,

Community Support Team _Charlotte

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

What I'm looking for is to show training dates at the third level but keep sum total at top level(Org). Also show one attempt per course.

 

This is the query I was using but with no luck: 

Column = var _table=SUMMARIZE('User Table Date','User Table'[Training Current],'All Training Responses Main_Final'[User Training Date],"distinctcount",DISTINCTCOUNT('User table'[Training Current]))
return
SUMX(_table,[distinctcount])

 

 

 

Thank you again for taking the time to look over my questions. Hopefully it a little clear this time. 

 

Anonymous
Not applicable

Hi, @Taylormade 

 

You can refer to the following link to upload files with sensitive data please remove it in advance.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

Best Regards,

Community Support Team _Charlotte

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

Copy that sensitive data is remove. Here is my question in nutshell: How do I distinct count the number of dates by a user in a matrix report?

Ex. 

OrganizationUsernameTraining Date
Group AUser A9/1/2024
Group BUser B9/2/2024

Group A

User C9/3/2024

Group C

User D9/1/2024

Group B

User E9/2/2024

Group A

User F9/5/2024

 

Drill down report 

+Org -> UserName -> User Training Date

adudani
Memorable Member
Memorable Member

hi @Taylormade ,

 

could you please provide sample input data in a usable format ( table, csv etc) masking sensitive information.

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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