Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |