Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I need to display the records from the table which is ealrier than particular number of months , number of months will be provided by slicer selection. I created the below but it does not work -
Solved! Go to Solution.
Hi, @Prince87 ;
Base on my understand , you could create a flag measure and apply it into filters, as follows:
flag = IF(MONTH(MAX([Latest_ Inventory_ Date]))<=MAX('MOnths_Filter'[Number of Months]),1,0)
Then apply it into filter:
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Prince87 ;
Base on my understand , you could create a flag measure and apply it into filters, as follows:
flag = IF(MONTH(MAX([Latest_ Inventory_ Date]))<=MAX('MOnths_Filter'[Number of Months]),1,0)
Then apply it into filter:
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Prince87 you should create a calendar table, follow this blog post to create one Create a basic Date table in your data model for Time Intelligence calculations | PeryTUS IT Solutio..., and then use the date table for all the calculations and visualization.
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.
@parry2k, Sir, I already have a date table attached. This is the below scenario, from slicer user will input number of months (integer value) he needs to filter and we need to filter this table on the basis of same.
I am trying to create the above measure but failed
User | Count |
---|---|
128 | |
109 | |
100 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |