Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Formula alternative

Hello Team,

akerrout_0-1679987563970.png

Here  is a screen shot of the two measure i m using.
The first measure is account which contains a list of all the accounts.
and the other measure is the value FYTG which is the value for those account full year to go.
I would like to create a formula that can be resumed as :
calculate ([accout value FYTG ,filter('Table' [account] ="WNNS") + calculate ([accout value FYTG ,filter('Table' [account] ="ORGNS") + calculate ([accout value FYTG ,filter('Table' [account] ="VOL") +... +...+...+...
then summing them up
I actually created a similar measure. for each account I need to sum I created a varibale within the masure  but it takes to long to load. Is there any shortcut possible ? because the account's number is much bigger than the exemple.

Best regards,
A.K


1 REPLY 1
halfglassdarkly
Responsive Resident
Responsive Resident

Hi A.K. You should be able to use the IN operator to simplify this considerably. E.g.

 

calculate ([accout value FYTG] ,'Table'[account] IN{"WNNS",ORGNS","VOL"})

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.