I have a holiday table which has
etc and in my fact table I have
Basically I am wanting a column/measure in my fact table that gets the number for todays date and minus the TDD Number.
Any help to go about this appreciated.
Go to Solution.
Did you mean this?
Minus Value =
VAR TDDNum =
MAX ( Holiday[ID] ),
FILTER ( Holiday, Holiday[Date] = MAX ( 'Fact'[TDD Date] ) )
VAR TodayNum =
CALCULATE ( MAX ( Holiday[ID] ), Holiday[Date] = TODAY () )
TDDNum - TodayNum
View solution in original post
First what are today's number and the TDD number? What's the relationship between holiday table and fact table? And what's the logic to make today's number minus the TDD number?
Please share us more information about your requirement like your table structure and some sample data with its expected result.
I am joining the two tables on date and I am wanting to get the related ID for tdd date and minus that from todays date ID
Read the announcement for more information!
We're rolling out new Kudos Given badges. Find out how many Kudos you've given.
Get an overview of the events and great community content from November.
Find out where you can attend!