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
mdaamirkhan
Post Prodigy
Post Prodigy

Need help on my existing report?

Hello All,

 

Is there anyone to help me on my existing report which I have shared the link:https://drive.google.com/open?id=1MLwvohbKCbJAj1_xJp1lTegJmQ60Ccgs its bit urgent if you help me on my .pbix file and shared with me.

 

Need solution:

You can see in this visual the filter on scenario above doesn't get applied. Can you find a solution so that the running totals and the amounts show the same result but the use can switch the base scenario? E.g. if "actual" in the filter above is selected only the actuals are shown. If budget just "budget" and in case there is a new scenario like "forecast" that is shown as the base scenario + "Budget"

 

Target Result If only "Actual" Is selected but we still want both if "budget" is also selected in filter above

 

Thanks in advance.

 

Aamir

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@mdaamirkhan

 

In your scenario, you created one measure for each "scenario" and you have added the "scenario" as filter in calculation. When you put both measures into a chart, it will never take the selection in slicer. 

 

For your requirement, you only need one measure with "scenario" filter removed. 

 

Total Report Values = if(sum(Xero_Finance_Data[ClassKey])=0,CALCULATE([Report Value]),CALCULATE([Report Value],
    FILTER (
        ALL ('Calendar'),
       'Calendar'[Date]<= MAX ('Calendar'[Date])
    )
))

Then you should put 'Xero_Finance_Data'[Scenario] into Legend in your chart. 

 

Regards,

View solution in original post

1 REPLY 1
v-sihou-msft
Employee
Employee

@mdaamirkhan

 

In your scenario, you created one measure for each "scenario" and you have added the "scenario" as filter in calculation. When you put both measures into a chart, it will never take the selection in slicer. 

 

For your requirement, you only need one measure with "scenario" filter removed. 

 

Total Report Values = if(sum(Xero_Finance_Data[ClassKey])=0,CALCULATE([Report Value]),CALCULATE([Report Value],
    FILTER (
        ALL ('Calendar'),
       'Calendar'[Date]<= MAX ('Calendar'[Date])
    )
))

Then you should put 'Xero_Finance_Data'[Scenario] into Legend in your chart. 

 

Regards,

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.