cancel
Showing results for
Did you mean:
Highlighted
Frequent Visitor

undefined

Hi Team,

I have same multiple invoice id with different invoice amount.I want sum those invoice amount against one invoice.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support

Hi @preetha_127

You can create a calculated column and measure like below:

InvoiceNew = LEFT('Table'[Invoice],3)

TotalByInvoice = CALCULATE(SUM('Table'[Invoice amount]),FILTER('Table','Table'[InvoiceNew]=MAX('Table'[InvoiceNew])))

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Highlighted
Community Support

Hi @preetha_127

You can create a calculated column and measure like below:

InvoiceNew = LEFT('Table'[Invoice],3)

TotalByInvoice = CALCULATE(SUM('Table'[Invoice amount]),FILTER('Table','Table'[InvoiceNew]=MAX('Table'[InvoiceNew])))

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Super User IV

@preetha_127 , Same solution as @v-qiuyu-msft , But in case you can have more than 3 digit

Try like

New Column =

var _len = search("(",[invoice] ,,0)

return

if(_len =0 ,[Invoice],left([Invoice],_len-1)

Proud to be a Super User!

Highlighted
Frequent Visitor

Hi team,

I have multiple report,also i have summary of all the report.If i click one report in summary page ,it will navigate particular report.Help me..

Thanks & Regards,

Preetha

Announcements

Power Platform Community Conference

Check out the on demand sessions that are available now!

Microsoft Power Platform Communities

Check out the Winners!

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors