Forum Discussion
Visual breaks with fields from two DIM tables
- 2 years ago
Hi Anonymous ,
I found a solution, and it has nothing to do with relationships. I keep my model as described.
I've implemented a SUM as amitchandak suggested in this post:
Total Turnover = CALCULATE(SUM('02b. FACT_Turnover'[Turnover]),FILTER('02b. FACT_Turnover','02b. FACT_Turnover'[Material] in VALUES('02a. FACT_Materials'[Material])))amitchandak , now I'd like to do a running total (or cummulative sum). I've successfully added a Rank column, and I'd like to do this running total using this column. Following my data mode described in this post, what do you suggest? I've tried this formula, but no success:Running Total =VAR currank2 = [Rank99]RETURNCALCULATE (SUMX('02b. FACT_Turnover',[Turnover]),FILTER(ALLSELECTED('02a. FACT_Materials'), [Rank99] <= currank2))Thanks,
ferryberry Have you tried changing the cross filter direction between the 2 Materials tables to "both?" Is it necessary to break up the Materials table in to fact and dimension tables?
Hi Anonymous ,
Is it necessary to break up the Materials table in to fact and dimension tables?
I'd say so.
Have you tried changing the cross filter direction between the 2 Materials tables to "both?"
Like this? See below:
Now my visual breaks when dragging fields frm FACT_Materials (Error message "Can't display the visual").
Regards,
- Anonymous2 years agoNot applicable
ferryberry It's not so easy to diagnose without seeing all the fields, but I would try consolidating the Materials table for starters.