Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello,
I have question regarding the datediff() function. In the syntax it is not mentioned that its a iterator. But why it works in a measure like this:
Solved! Go to Solution.
@Applicable88 not sure if I fully understood your question. MAX date will not necessarily return the MAX date in your calendar table it will return in the row filter context.
If you are looking at the data at the month level, the max date will of that month, the same data you are looking at by week, the max date will be the max of that week, and so forth so on.
It is always good to provide some sample data and how you are visualizing to provide more context to the problem. MAX date doesn't mean anything until you define in what context you are looking at it.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Applicable88 not sure if I fully understood your question. MAX date will not necessarily return the MAX date in your calendar table it will return in the row filter context.
If you are looking at the data at the month level, the max date will of that month, the same data you are looking at by week, the max date will be the max of that week, and so forth so on.
It is always good to provide some sample data and how you are visualizing to provide more context to the problem. MAX date doesn't mean anything until you define in what context you are looking at it.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Applicable88 where you see it says iterator, it takes scalar values
Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi @parry2k , thats the question. Since its not a iterator function and only put in a variable inside a measure, how can it operate? isn't it comparing one naked column two another naked column this way?
It't the same like when you want to use the If-statements in a measure, it only works when wrapped up inside the conditional part of a another x-aggregated function.
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
84 | |
66 |