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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
preetha_127
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
v-qiuyu-msft
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
preetha_127
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

amitchandak
Super User
Super User

@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)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
v-qiuyu-msft
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.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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