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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Filippomonti
Frequent Visitor

Splitting budget total with slicer

Hi all,

I have the following dataset:

Filippomonti_0-1649419567490.png

And I have the following Matrix

Filippomonti_1-1649419693807.png

Where the second column "Somma di Cost" is made with a simple DAX formula SUM(Budget, Budget[Cost]).

I also have a slicer with Date-Number.

I want to create a measure that calculates "Somma di cost"/MAX(Date, Date[Number])*Number selected with slicer.

Is that possible?

 

Thank you

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

1 REPLY 1
amitchandak
Super User
Super User

@Filippomonti , for Number selected with slicer use what if parameter https://docs.microsoft.com/en-us/power-bi/desktop-what-if

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.