Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18030

SQL OUTER APPLY - DAX equivalent needed.

$
0
0

I believe Power Query doesn't support OUTER APPLY and my requirement can't be solved any other way.  

 

Is anyone willing to look at the issue and confirm so that I know whether to post as suggestion in later PBI releases?

 

I have fully built out a demo of my use of OUTER APPLY.

 

My need of OUTER APPLY has come up a couple times in last 3 years and I see a need for it whenever needing to answer ON/OFF  trends for issues that go on for several days running.   Answers questions like: Was a backup running during this hour and for how many minutes?  Was there an outage during this hour? can not be created any other way but to pair the original dataset with a time table at Min or Hour grain.

 

pbix   https://www.dropbox.com/s/eetbedmowivujib/OUTERAPPLY.pbix?dl=0

 

DDL https://www.dropbox.com/s/reb977pjq0epffp/DDL.sql?dl=0

 

end result is a nice left to right scroll of trends.  In other cases it can be a heat map with conditional formatting.

Capture.PNG

 


Viewing all articles
Browse latest Browse all 18030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>