Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have products with that are coming with expire date I want
How is this measure made that amount products that expering <30 days like those below?
Which visualization did you use?
Hi @selected_,
Please provide some dummy data and expected results to help us clarify your scenario, then we can test to coding formula on it.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
https://www.youtube.com/watch?v=3bV9BfB3_Oc&t=1s Watch this video to create Ageing of the Expiry Date and you can easily monitor the products Expiry Date
If you find this solution as you require then mark this as solution and share your Kudoes
Vijay Perepa
Proud to be a Super User!
Hi @selected_
Use the below measure to get teh days left.
Days_left = DATEDIFF(selectedvalue(table[expire_date]),TODAY(), DAY)
Now for each of these charts use filter condition on days left as
1. Less than or equal to 30
Less than or equal to 60 and greater than 30
Less than or equal to 180 and greater than 60
greater than 180
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
You need two measures OR combine intoone. one to calc the expired date them put into if statement:
Days between = DATEDIFF(table[date],TODAY(), DAY)
DATEDIFF (<start_date>, <end_date>, <interval>)
then with If stament
IF([Days between]>= 30, "YES","NO')
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |