Forum Discussion
Measures with Date Tables
Hi,
I am very new to Power BI and I am having trouble using a measure with a date table.
I created a date table for looking up
Dates = CALENDAR(TODAY()-1000,TODAY()+1000)
within which I made a column called MonthYear
MonthYear = 'Dates'[MonthShortName]&" "&'Dates'[Year]
When I create charts from my 'Fact Sheet' (Table1) it works fine and groups the data in MonthYear as I want it to do.
However, when I make a chart that has this measure in it
(
Anonymous sorry missed a bracket
SLA % = VAR d = DIVIDE ( SUM ( Table1[Incident Breached] ), SUM ( Table1[Count]) ) RETURN IF (ISBLANK(d), BLANK(),1-d)
10 Replies
- parry2k
Super User
Anonymous did you setup relationship between your date and transaction table?
- AnonymousNot applicable
Wow, that was quick :-) Thanks for getting back to me parry2k
Yes, I think(?) I have
Here you can see two charts, both are using the same MonthYear axis
But the one in the left (which does not use a measure) seems to work fine.
- mussaenda
Community Champion
try setting your relationship direction to both