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 am trying to create a visual that will show the average number of days that a given part is delivered early or late. Here is a sample of the table data:
I have measures to calculate the number of On Time, Early or Late deliveries:
The measures, however, will not return any results in a visual. Searching around, I find information that indicates I need to include a Date Limit measure in my Date table and use that for some of the measures. However, when I try to create the Date Limit measure, I keep getting this error:
The Date Table does have a Date Column. I've tried creating the Date Table with a very limited range - 2019-2022, but
Any ideas as to where I am going wrong?
Does this work instead? You may have over narrowed the filter to a specific column, instead of just using the Table Name in ALL?)
Number of Early =
CALCULATE(
COUNTROWS('Fact PO Details'),
FILTER(
ALL('Fact PO Details'),
'Fact PO Details'[Days Early or Late] = "Early"))
Proud to give back to the community!
Thank You!
Unfortunately, no, that doesn't fix the issue.
Hi, @Canknucklehead
Please recheck your field name:
Number of Early =
CALCULATE (
COUNTROWS ( 'Fact PO Details' ),
FILTER ( ALL ( 'Fact PO Details' ), 'Fact PO Details'[Late or Early] = "Early" )
)
If it doesn't work, please share your sample file for further research.
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That has partially resolved the issue. I have two different fields for Early and Late and was referencing the wrong one.
The Date Limit measure still won't work in the Date Dimension. Same error as above in the original post. And the Number of Early measure does not interact with any Date Slicer. I am going to keep trying.
Hi, @Canknucklehead
Could you please tell me whether your problem has been solved ? For now, there is no content of description in the thread.
If yes, you could accept the helpful answer as solution to close this thread. You could also share your own solution here.More people will learn new things here.
If you still need help, please feel free to ask and share more details.
Best Regards,
Community Support Team _ Eason
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |