Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217083

How to Create DayName + TimePeriod

$
0
0

Evening,

 

I have my data table, my date table and my time table. I'm trying to be able to calculate "Monday Morning". At the moment, I'm able to calculate the Day name from my Date Key using format in my date table.

 

I'm able to calculate the Time Period (Morning, Afternoon, etc) by using a conditional column and the 24Hour number and simply doing it that way (so 15=Afternoon, 8 = Morning, etc).

 

It would be amazing to be able to bring these two together but I'm a little out of ideas. They are on different tables which I'm not able to link with an active relationship due to them both have an active relationship with my date table. I've considered somehow producing either the Monday or the Morning aspect on the date table and then using the CONCENTRATE and RELATEDTABLE function to whip it together, but I haven't been able to get it together for one reason or another.

 

I've attached my pbix if that's of any help, I'm a little stumped. My Pbix Link


Viewing all articles
Browse latest Browse all 217083

Trending Articles



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