Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
There is a table with the following columns:
users, courses, course date, login date
Need a table to show users with their "number of courses per month" and "number of login per month".
Thanks .
Solved! Go to Solution.
HI @koorosh,
I think you need to use a date table that is not linked to current table records. Then you can use the current user's fields on row fields, data table field with year and month hierarchy on column fields.
After these steps, you can write two measure formulas to calculate the different calculations based on the current category group and use them on value fields.
number of courses per month =
CALCULATE (
COUNTA ( Table[courses] ),
FILTER ( ALLSELECTED ( Table ), [course Date] IN VALUES ( Date[Date] ) ),
VALUES ( Table[Users] )
)
number of login per month =
CALCULATE (
COUNT ( Table[login Date] ),
FILTER ( ALLSELECTED ( Table ), [login Date] IN VALUES ( Date[Date] ) ),
VALUES ( Table[Users] )
)
Regards,
Xiaoxin Sheng
HI @koorosh,
I think you need to use a date table that is not linked to current table records. Then you can use the current user's fields on row fields, data table field with year and month hierarchy on column fields.
After these steps, you can write two measure formulas to calculate the different calculations based on the current category group and use them on value fields.
number of courses per month =
CALCULATE (
COUNTA ( Table[courses] ),
FILTER ( ALLSELECTED ( Table ), [course Date] IN VALUES ( Date[Date] ) ),
VALUES ( Table[Users] )
)
number of login per month =
CALCULATE (
COUNT ( Table[login Date] ),
FILTER ( ALLSELECTED ( Table ), [login Date] IN VALUES ( Date[Date] ) ),
VALUES ( Table[Users] )
)
Regards,
Xiaoxin Sheng
Hi, @koorosh ,
Something like this?
Creating matrix, putting months as columns, User as rows, count of login and course date as Values:
Hello and Thanks,
The months for login dates have not been shown in the matrix.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!