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!View all the Fabric Data Days sessions on demand. View schedule
Hello Team,
What could be the reason for the below error in the Measure?
Do i need to create new Measure for ClickCount and Unique User?
DAX:
Hello @ssspk ,
Reference given for SUMX is wrong because syntax of SUMX is as follows:
SUMX(<table>, <expression>)
So please correct it accordingly. Else explain your requirement with sample data and we will try to provide solution.
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hello @Kishore_KVN ,
Thank you for your reply,
My Requirement is ,
Find 'Unique users per day'.
I have a
table name: data
column:servertime
column:user
column:appid
This is my python code,
events_per_user_per_day = all_events.groupby([pd.Grouper(key='servertime', freq='D', label='left'), 'user'])[['appId']].count()
f = events_per_user_per_day.groupby(level="servertime").size().plot()
How to convert this to DAX Query Measure?
Thanks
Hello @ssspk ,
You can use below calcuation:
Unique Users Per Day =
CALCULATE(
DISTINCTCOUNT('data'[user]),
ALLEXCEPT('data', 'data'[servertime])
)
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
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!