Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello all!
I have a question, I have a dataste set which looks into sum of Savings Balance for Dec'23 and for Mar'24.
I have it summed up and displayed like this in bar
Now I need to add a Fixed Deposit metric also that again look into sum for Dec'23 and Mar'24.
I figured that having a filter that I can use to switch between Saving Account and Fixed Deposit metric for two dates would be smart, but I cant seem to form a filter that works.
I made a new table called Measure Table with the below column, with these options,
then a new measure, but it doesnt work. I think im missing something but not sure if theres a way to create a filter that shows value for Savings & FD.
SA = IF(CONTAINS('Measure Table', 'Measure Table'[Metrics], "CASA"), [DEC'23], [Mar'24])
If any help that would be great!
Thank You!
Solved! Go to Solution.
I was able to update the base file to include identifier for CASA & FD. Hence using these identifier as the filter for the 2 years.
Was able to resolve this issue!
I was able to update the base file to include identifier for CASA & FD. Hence using these identifier as the filter for the 2 years.
Was able to resolve this issue!
Hi @DARKLOARD ,
Please have a try.
Create a measure.
Dynamic Metric Value =
VAR SelectedMetric = SELECTEDVALUE('Measure Table'[Metrics], "Default")
RETURN
IF(
SelectedMetric = "CASA",
CALCULATE(SUM('DataTable'[SavingsBalance]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"}),
CALCULATE(SUM('DataTable'[FixedDeposit]), 'DataTable'[Date] IN {"Dec'23", "Mar'24"})
)
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey thanks for the response, some quetions
(SUM('DataTable'[SavingsBalance])
'DataTable'[Date] IN {"Dec'23", "Mar'24"})
So Dec'23 & Mar'24 look like this, no date but actual amount
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
4 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
4 | |
3 | |
3 | |
2 |