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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
hidenseek9
Post Patron
Post Patron

Power BI: Creating a financial model

Hello Power BI community!

 

I have a project to build a financial model in Power BI.

What I would like to know is that if there a way to select values from

many Slicer visuals and have power BI calculate numbers based on a measure, I set up.

 

For example, let's say I have 3 slicer visuals.

They all contain a value from 0 to 100.

If I select a value, 20 on one slicer, 30 on the second slicer, and 100 on the third slicer,

can I have a measure set up to calculate a product of these three values? (In this case, 20*30*100=60,000)

 

I have created a very simple dummy data below.

I would like to set up a measure that will calculate VOLUME * COST

so that when I select 60 on VOLUME and 100 on COST in slicer visuals or any other visuals

the measure will give me back 6,000.

 

Is this possible?

 

Dummy Data

 

Many thanks,

 

H

 

1 ACCEPTED SOLUTION

Hi @hidenseek9

 

Not sure of the values you are putting on the different matrix.

 

WHat I observe on the third matrix table all other months except September have the Volume(CM) measure as zero. So if you set the visual filter for this measure is not equal to zero , then you get only for September. 

 

Try it out.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

View solution in original post

13 REPLIES 13
v-caliao-msft
Employee
Employee

@hidenseek9,

 

Please create two tables by using the DAX below.
Volume = VALUES(Table1[Volume (Ton)])
Cost = VALUES(Table1[Cost])

Create a measure in original table
Measure =
var costvalue = if(HASONEFILTER(Cost[Cost]),MAX(Cost[Cost]),BLANK())
var volumevalue = IF(HASONEFILTER(Volume[Volume (Ton)]),MAX(Volume[Volume (Ton)]),BLANK())
return costvalue*volumevalue

Capture.PNG

 

Regards,

Charlie Liao

 

@v-caliao-msft

 

Awesome! It works! Thank you for this.

However, I am facing one issue.

 

I want to show YTD actual PL (Jan-Aug) and would like to attach current month (right now, September)

to the PL picture.

 

Since I am having a difficulty combining actual and forecast together in one table,

I am showing the actual and forecast side by side as below.

 

2017-09-15 10_28_25-CANN Closing - Power BI Desktop.png2017-09-15 10_29_16-CANN Closing - Power BI Desktop.png

 

The problem that i have is that using the dropdown filter to choose a value,

the number shows up on every month.

For instance, AC retailer I chose -21.0 and it is showing every month

when I want to show in just a current month (in this case September)

 

Any way I can achieve this?

 

Many thanks,

 

H

Could anybody help me with the problem I posted above and below?

 

Thanks,

 

H

 

---------------------

Awesome! It works! Thank you for this.

However, I am facing one issue.

 

I want to show YTD actual PL (Jan-Aug) and would like to attach current month (right now, September)

to the PL picture.

 

Since I am having a difficulty combining actual and forecast together in one table,

I am showing the actual and forecast side by side as below.

 

 

 

The problem that i have is that using the dropdown filter to choose a value,

the number shows up on every month.

For instance, AC retailer I chose -21.0 and it is showing every month

when I want to show in just a current month (in this case September)

 

Any way I can achieve this?

 

Many thanks,

 

H

---------------------

Hi,

 

Share the link from where i can download the file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you for offering to help.

Please find the link below.

Hope you can see the file.

 

FInancial Model Dashboard

 

Many thanks,

 

H

Hi,

 

I cannot download the file from there.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

I will give you the access to the folder where my excel file and

Power BI .pbix are.

 

Hope you can access.

 

Folder

 

Many thanks,

 

H

Hi,

 

That takes me to a sign-in page.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

This should work.

Sorry about this.

 

Folder

 

Many thanks,

 

H

Hi,

 

I got your files but i cannot understand your question.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur

 

If you open my Power BI dashboard, "CANN Closing", on Page1, I have three matrix.

I am having an issue with the matrix on the far right,

which is shown below.

 

2017-09-25 09_27_00-CANN Closing - Power BI Desktop.png

 

Basically, in this matrix, what I want to do is to make an adjustment in the matrix.

There are items such as "Mitsubishi (adjustment)" or "Center Fee (adjustment)", that I choose

values from a pull down at the top.

Those are the adjustment that I want to make.

 

2017-09-25 09_29_35-CANN Closing - Power BI Desktop.png

 

When I choose values from the pull down, the values show up

in all columns (Every single month).

However, since I am only simulating the PL for a month of September,

in this instance, I want the matrix to show just September.

 

How can I achieve this while I keeping the other two matrix as they are?

Hope the explanation above is clear.

 

Many thanks,

 

H

 

Hi @hidenseek9

 

Not sure of the values you are putting on the different matrix.

 

WHat I observe on the third matrix table all other months except September have the Volume(CM) measure as zero. So if you set the visual filter for this measure is not equal to zero , then you get only for September. 

 

Try it out.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

@CheenuSing

 

Oh, that was simple enough!

it works.

 

Thanks,

 

H

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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