Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I need to determine which are the Route numbers that have an associated Number greater than 50 for 3 successive Dates. In this example, the Route 4, 6 and 7 have Numbers greater than 50 for 3 successive Dates.
Thanks for your help.
Solved! Go to Solution.
@Ugo You are going to want something like Cthulhu or MTBF might also provide a pattern:
Cthulhu - Microsoft Power BI Community
Mean Time Between Failure (MTBF) - Microsoft Power BI Community
Both are for doing row-wise comparison operations (which is not trivial in DAX)
Seems route 11 is also has 3 values greater than 50. For your requirement, you could first create a flag column then create a result column.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Thanks for the solution. However, route 11 does not have three consecutive results greater than 50. There is a result of 30 on August 18th.
@Ugo You are going to want something like Cthulhu or MTBF might also provide a pattern:
Cthulhu - Microsoft Power BI Community
Mean Time Between Failure (MTBF) - Microsoft Power BI Community
Both are for doing row-wise comparison operations (which is not trivial in DAX)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |