Forum Discussion
Anonymous
6 years agoNot applicable
Need help with this filter and table link
Hello all, I have a bit problem well for me that still new in this power BI (I used to use with Tableau) , since I had to migrate to Power BI, I have learning this Power BI that it is completly d...
v-xicai
Community Support
6 years agoHi Anonymous ,
You couldn't have a calculated table or column interacted with a slicer or interaction , since calculated table or columns are only calculated when data is loaded/refreshed.
To achieve your demand, you may needn't to create another calculated table3, just create measure like DAX below in Table1, then display Table1[Category], Table1[Type], Table1[Value] and Table1[%_Result] in table visual.
%_Result=
Var _LastValue= CALCULATE(SUM('Table1'[Value]),FILTER(ALLSELECTED('Table1'),'Table1'[Category]=MAX('Table1'[Category]) &&'Table1'[Type]=MAX('Table1'[Type])&&'Table1'[Index]=MAX('Table1'[Index])-1))
Var _Percent= DIVIDE( MAX('Table1'[Value]), _LastValue )*100
Return
IF(_LastValue<> BLANK(), _Percent , 0)
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Hi Amy, thank you, I learn a lot in the past 3 days about Power BI, I will try the formula that you given, again much appreciated.