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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Solved! Go to Solution.
Try
6 month active =
VAR EndDate =
MAX ( 'Date'[Date] )
VAR StartDate = EndDate - 180
VAR AppLogUsers =
CALCULATETABLE (
DISTINCT ( AppLog[UserID] ),
DATESBETWEEN ( 'Date'[Date], StartDate, EndDate )
)
VAR AllPointUsers =
CALCULATETABLE (
DISTINCT ( AllPoint[UserID] ),
DATESBETWEEN ( 'Date'[Date], StartDate, EndDate )
)
VAR CombinedUsers =
DISTINCT ( UNION ( AppLogUsers, AllPointUsers ) )
VAR Result =
COUNTROWS ( CombinedUsers )
RETURN
Result
Try
6 month active =
VAR EndDate =
MAX ( 'Date'[Date] )
VAR StartDate = EndDate - 180
VAR AppLogUsers =
CALCULATETABLE (
DISTINCT ( AppLog[UserID] ),
DATESBETWEEN ( 'Date'[Date], StartDate, EndDate )
)
VAR AllPointUsers =
CALCULATETABLE (
DISTINCT ( AllPoint[UserID] ),
DATESBETWEEN ( 'Date'[Date], StartDate, EndDate )
)
VAR CombinedUsers =
DISTINCT ( UNION ( AppLogUsers, AllPointUsers ) )
VAR Result =
COUNTROWS ( CombinedUsers )
RETURN
Result
I never thought of using calculate table to transform them into same headers then union.
I still need to get UserId into AppLog table somehow to test this, but your answer already give me the general idea and direction, which I can pretty much see that it will definitely work.
This look much cleaner than my approach too!
Thank you very much for your assistance.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.