March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
I am seeking help with a revenue calculation
I want a total revenue for packages marked "prepaid", I am aware I can just use a filter option but seeking a formula which will exclude everything under the packages but summarize me all prepaid packages with price 34
Solved! Go to Solution.
hi, @Anonymous
If you want to create a "New Column", you could use EARLIER Function to add a formula as below
Best Regards,
Lin
Sales Measure = CALCULATE ( your calculation here, FILTER ( 'Table', Table[Packages] = "Pre-Paid" && Table[Package Price] = 34 ) )
You'll need an explicit FILTER in your DAX formula, something like this
@HotChilli
I was unable to input in the "calculation here" field , my actual total reveunue calculation is as shown in the image is as a form of "New Column " .. as per your instructio below i couldnt do the following
Sales Measure = CALCULATE ( Totalrevenue nok 2018, FILTER ( 'Table', Table[Packages] = "Pre-Paid" && Table[Package Price] = 34 ) )
hi, @Anonymous
If you want to create a "New Column", you could use EARLIER Function to add a formula as below
Best Regards,
Lin
a measure has to have an aggregation, usually for numbers that means SUM.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |