Forum Discussion
KH_Mike
5 years agoHelper III
Calculate Column - Check Row Record
Hi All, I have a data like below table. Now, I would like to create a new column as Slicer for easy comparsion. Is it possible to create under below condition? If not, any other way to acheive th...
- 5 years ago
Hi, KH_Mike
Try to create a calculated column like below:
_Col2 = VAR _Int = SUMMARIZE ( FILTER ( 'Table', [Actual/ Forecast] = "Actual" && [Internal / Global] = "Global" ), [Year/Month] ) VAR _Glo = SUMMARIZE ( FILTER ( 'Table', [Actual/ Forecast] = "Actual" && [Internal / Global] = "Internal" ), [Year/Month] ) RETURN IF ( 'Table'[Actual/ Forecast] = "Foecast", "N", IF ( 'Table'[Year/Month] IN _Glo && 'Table'[Year/Month] IN _Int, "Y", "N" ) )Result:
Hope this helps
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KH_Mike
5 years agoHelper III
Hi All,
Anyone can help me? Thank you.