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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
matteo0286
New Member

Value Calculation

Hi,

I need an help.

I have one value as amount and I want to remove other amount from other filter table but only the selected item.

I can select from many filter table and the main number need to decrease for the amount selected.

 

Sombody can help me with this DAX command?

 

Thanks,

1 ACCEPTED SOLUTION
matteo0286
New Member

Sorry for late answer,

I solve the problem with this two measurement:

 

Fornitori elenco = CONCATENATEX(FILTER(all(Fornitori[Description]), not [Description] in VALUES(Fornitori[Description])), [Description], ",")

 

fatturato selezionato = IF(ISBLANK([Fornitori elenco]),0, sum(Fornitori[Importo residuo]) )

 

Thanks,

View solution in original post

4 REPLIES 4
matteo0286
New Member

Sorry for late answer,

I solve the problem with this two measurement:

 

Fornitori elenco = CONCATENATEX(FILTER(all(Fornitori[Description]), not [Description] in VALUES(Fornitori[Description])), [Description], ",")

 

fatturato selezionato = IF(ISBLANK([Fornitori elenco]),0, sum(Fornitori[Importo residuo]) )

 

Thanks,

v-binbinyu-msft
Community Support
Community Support

Hi @matteo0286 ,

I'm a little confused about your needs, Could you please explain them further? It would be good to provide a screenshot of the results you are expecting.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

Fowmy
Super User
Super User

@matteo0286 
Can you share some sample data with the desired output to have a clear understanding of your question?
Mention whether you want a calculated column or measure.
You can either paste your data in the reply box or save it in OneDrive, Google Drive, or any other cloud-sharing platform and share the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thanks,

 

the DAX i try is:

 

Saldo Finale Mese_REAL = [Disponibilità Liquide_BPER] + SELECTEDVALUE(Fornitori[Importo residuo])
 
but the the amount decrease only of one single selection of that table, what i need the main amount decrease/increase of multi selction of one table
 
here also the screenshot:
matteo0286_0-1662018506637.png

 

 
Thanks,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors