Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have two tables:
Project:
[Project_title] [Project_module]
A A
A B
A C
B D
B E
C F
Usage:
[Project_module] [Latest_date]
A 01-02-23
B 02-02-23
C 03-02-23
D 01-02-23
E 02-02-23
F 04-02-23
Relation between the tables is [Project_module].
I would like to look at the latest date but on project title level. How can I use DAX to do that? I've been trying MAXX and I can't seem to figure it out.
Solved! Go to Solution.
Hi @SJHA ,
Try the below calculated measure:
Title Level Latest Date =
CALCULATE(
MAX(Usage[Latest Date]),
ALLEXCEPT(Project, Project[Project Title])
)
Here's the output:
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @SJHA ,
The measure I mentioned earlier would still work:
Can you change the relationship to below?
If relationship can't be shared, can you share the current relationship between these 3 tables please.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
I have 3 tables: Project, Module and Usage
Currently it looks like the table in the lower right corner, or if I removed the 'module' column it just repeats the project with different dates.
I would like it to be the project name once for the latest date.
Hi @SJHA ,
The measure I mentioned earlier would still work:
Can you change the relationship to below?
If relationship can't be shared, can you share the current relationship between these 3 tables please.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
measure =
MAXX(
FILTER(AL('Usage'),
'Usage'[Project_module]= max('Project'[Project_module]),[Latest_date]
)
----
Colum =
MAXX(
FILTER(AL('Usage'),
'Usage'[Project_module]= 'Project'[Project_module],[Latest_date]
)
I just found out that the relation is not as I mentioned.
The relation is through another table:
Project relation is Module parent_ID
Usage relation is Module ID
Is it still possible?
@SJHA ,
We should be able to solve it using DAX but I'm not exactly able to identify the table and relationship in the reply.
Is it possible for you to create a dummy .pbix file and share? Or can you share the table info just like you shared in original post?
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @SJHA ,
Try the below calculated measure:
Title Level Latest Date =
CALCULATE(
MAX(Usage[Latest Date]),
ALLEXCEPT(Project, Project[Project Title])
)
Here's the output:
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
85 | |
66 | |
52 | |
48 |
User | Count |
---|---|
215 | |
90 | |
83 | |
67 | |
59 |