cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.bi.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
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])))
 
q1.PNGq2.PNG

 

 

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.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
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])))
 
q1.PNGq2.PNG

 

 

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.

View solution in original post

Highlighted
Super User IV
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)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

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