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.
Hello guys i´m with case that i have a date used in modelling of a store.
My main problem is i need to create a measure that depends from a max date per month
ex:
For that example in that store, i should have a measure bring me the max date of that visit. In the example 24-10-2022
the problem is i cant use a calculated column to solve this situation, i should do using just a measure.
Someone could give me a light on this?
Solved! Go to Solution.
Hi @Vnidias ,
This is my date table:
Another table:
Relationship between two tables:
Create a measure:
Measure = CALCULATE(MAX('Date'[Date]),FILTER(ALL('Table'),'Table'[Attribute] = SELECTEDVALUE('Table'[Attribute])))
You will get the max date of that visit
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Guys thanks for the help!
Measure=CALCULATE(MAX(FactTable[Date]),ALLEXCEPT(FactTable,Factable[StoreID]))
Hi @Vnidias ,
This is my date table:
Another table:
Relationship between two tables:
Create a measure:
Measure = CALCULATE(MAX('Date'[Date]),FILTER(ALL('Table'),'Table'[Attribute] = SELECTEDVALUE('Table'[Attribute])))
You will get the max date of that visit
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |