Forum Discussion
New Column Creation Help
- 1 year ago
you can try to create a measure for this
Measure = DIVIDE(sumx(FILTER('Table','Table'[Data]="PV"),'Table'[Number(USD)]),sumx(FILTER('Table','Table'[Data]="Number of Cards"),'Table'[Number(USD)]))for JPY you can create a similar measure to get the speedpls see the attachment below
Hi 34583458hhdnsk ,
As I am not comfortable with Power Query , why don't you try DAX expression to do the same?
Hoping your data model has 2 measures
PV = CALCULATE( SUM( Table[Value] ), Table[Data] = "PV" )
NumberOfCards = CALCULATE( SUM( Table[Value] ), Table[Data] = "Number of Cards" )
Create a 3 measure:
Spend per Card =
DIVIDE(
[PV],
[NumberOfCards],
BLANK() // or 0
)
Please let me know if you have further questions.
If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too. And if you found it useful, a quick "Kudos" is always appreciated, thanks!
Best Regards,
Maruthi
LinkedIn - http://www.linkedin.com/in/maruthi-siva-prasad/
X - Maruthi Siva Prasad - (@MaruthiSP) / X