Forum Discussion
reddy421_hc
6 years agoFrequent Visitor
power bi create a calculated column from different relationship
Hello, I have a few date fields in my fact table. I created a date dimension table and assigned all the relationships to them. I Know only one will be active out of all. ( pic is shown below). ...
- 6 years ago
Below is how I got what I needed.
Thank you all for your help.
I really Love this community.
Cumulative Total Hospitalized =CALCULATE(SUM ( CaseDataAnalysisReport[IsHospitalized]),FILTER(ALLSELECTED('Date'[Date]),ISONORAFTER('Date'[Date], MAX('Date'[Date]), DESC)),USERELATIONSHIP (CaseDataAnalysisReport[DateHospitalized],'Date'[Date]))
amitchandak
Super User
6 years agois second either use all(Date) or use crossfilter (option none) to remove join with the other date