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
Anonymous
Not applicable

New calculated Column in Matrix based on output

Hi Experts

 

I have a matrix table, in that based on my output column I need to sum from two columns. could you please help me how to do that.

 

there are three columns selected. Let me know if need any further details

 

In the same matrix table, I need a new column which is CF - FL = Output.

 

CategoryActualsPlanCFFLCF - FL 
CA7997713481176283899932 
CD4981713683125146553024 
CDT5601413483123338595184 
CDPL52788855834127691596230 
CM1883350820112769133 
      
      
ROWCategory    
Column Ver    
ValuesRevenue    
1 REPLY 1
ShaWo
Advocate I
Advocate I

If you are talking about the matrix visualisation, then I think you'd need a new measure rather than new calculated column. Which would be something like:

CF - FL :=
var cf = calculate(sum(revenue);ver="CF")
var fl = calculate(sum(revenue);ver="FL")

return cf-fl

If you are talking about power query side of things, then you'd need to make new column in PowerQuery -> Add column -> select CF -> From number -> standad -> substract -> choose FL.

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.