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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
TexasBI
Helper II
Helper II

How to create a calculator?

Hello,

 

I am trying to create a calculator that will calculate monthly price of a product for 12 months plus a 1 time price for a product in the first month. Example if I get a product for $10/month for 12 months and it will cost $50 to install I want a line graph to show $60 in month 1 and then $10 the remaining 11 months. How do I structure a table to do this along with being able to filter between differnt products??

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@TexasBI,

 

You may use IF Function or SWITCH Function to add a calculated column.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
nickchobotar
Skilled Sharer
Skilled Sharer

Hello,

 

On high level for your model you want to three dimension tables (Customer, Product and Date) and one fact (transactions ) table.

Let me know if this is something you are looking for and we can continue with formulas.


image.png

hey @nickchobotar

 

I think I see what your getting at. This would be a presales calculator so it would be generic but i see what your getting at

dilumd
Solution Supplier
Solution Supplier

how do you define the first month? is it always Jan?

hey @dilumd

 

I would lik to keep the months generic and just have it as Month 1. This would be a presales calculator.

Hi

 

Is it possible to share some sample data to work with? I’m still not clear about your real requirement.

 

 Dilum

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.