Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I'm a PowerBI novice, and I am trying to correct a database design error using DAX.
I have two client types (Survivor, Supporter), but only Survivor is linked to a table with the date the service was rendered (service_id). I need to count the number of Supporters per month, but PowerBI cannot see them because they are not linked to a date (through service_id).
I thought to create a custom column that can find the ClientPI_id that they both share, and then use the same (service_id) found for Survivor to populate the matching blank cell for Supporter. How could I achieve this with DAX? (Pic below)
I really appreciate some help!
Thanks, Sarah
Solved! Go to Solution.
Hi, @sarahmclaughlin try it
@sarahmclaughlin You do not need to do this in PowerQuery, but add a calculated column in PowerBi.
Thank you so much! This worked perfectly!!! I've been stuck on this for weeks!
Hi! I get a message saying it doesn't recognise MAXX, and documentation says "This function is not supported for use in DirectQuery mode" - https://docs.microsoft.com/en-us/dax/maxx-function-dax
Is there another function I could try? How did it work on your side? Thanks so much!!!
@sarahmclaughlin You must create a computed column, not a measure, Please provide a screenshot of the error
See example
Example_pbix
@sarahmclaughlin You do not need to do this in PowerQuery, but add a calculated column in PowerBi.
Hi, @sarahmclaughlin try it
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.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |