Variance Measure to exclude 0

KimC2504

Board Regular
Joined
Jul 17, 2012
Messages
141
Hi All,
I have created a Measure Variance =[CW]-[PW]

I have created a table as per below, I would like the table to exclude the zero variance and show bike and Skateboard only. Can this be done?


ModelCWPWVariance
Car1001000
Bike504010
Boat66660
Skateboard301020
Plane9999
0
Rollars550
Helicopter35350
Motorbike20200
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
you want to put the words Bike, skateboard only - OR do you want the same word as the Model
CAR, Boat, Plane, Rollars, Helicopter, Motorbike, in your example
if so

=IF(CW]-[PW]=0, CellID with the [Model] , CW]-[PW] )
 
Upvote 0
Is this what you are after? If you have access to the new FILTER function.

Book5
ABCDEFGHIJ
1ModelCWPWVarianceModelCWPWVariance
2Car1001000Bike504010
3Bike504010Skateboard301020
4Boat66660
5Skateboard301020
6Plane99990
7Rollars550
8Helicopter35350
9Motorbike20200
Sheet1
Cell Formulas
RangeFormula
G2:J3G2=FILTER(A2:D9, D2:D9<>0)
Dynamic array formulas.
 
Upvote 0
Is this what you are after? If you have access to the new FILTER function.

Book5
ABCDEFGHIJ
1ModelCWPWVarianceModelCWPWVariance
2Car1001000Bike504010
3Bike504010Skateboard301020
4Boat66660
5Skateboard301020
6Plane99990
7Rollars550
8Helicopter35350
9Motorbike20200
Sheet1
Cell Formulas
RangeFormula
G2:J3G2=FILTER(A2:D9, D2:D9<>0)
Dynamic array formulas.
Hi FinalFight40,
Yes that is what I want but that looks like an excel formula and I am working in Power BI.
 
Upvote 0
you want to put the words Bike, skateboard only - OR do you want the same word as the Model
CAR, Boat, Plane, Rollars, Helicopter, Motorbike, in your example
if so

=IF(CW]-[PW]=0, CellID with the [Model] , CW]-[PW] )

Hi Etaf,

I would like my table to look like below. I have tried the if measure, but I couldn't get it to work

ModelCWPWVariance
Bike504010
Skateboard301020
 
Upvote 0

Forum statistics

Threads
1,223,798
Messages
6,174,667
Members
452,576
Latest member
AlexG_UK

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top