Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper II
Helper II

How to create a calculator?



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??

Community Support
Community Support



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.
Skilled Sharer
Skilled Sharer



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.


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

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.



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



Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors