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.
I have a table that have certificated of deposite from the 3 banks. Each bank provides different ratios for each saving amount.
In the report. I would like to present the bank ratio in range, and at the same time redeem date with just a single ratio.
In this case, what dax should I use so the report could have these two kind of ratio at the same time?
Any hints and tips greatly appreciated
Solved! Go to Solution.
Hi @pohan10566 ,
You can use the HASONEVALUE function to create a measure, refer to the following:
Measure = IF(HASONEVALUE('Table'[Interest]),MAX('Table'[Interest]),MAX('Table'[range]))
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pohan10566 ,
According to your needs, create a column through dax, refer to the following:
range =
VAR a =
CALCULATE ( MIN ( 'Table'[Interest] ), ALLEXCEPT ( 'Table', 'Table'[Bank] ) )
VAR b =
CALCULATE ( MAX ( 'Table'[Interest] ), ALLEXCEPT ( 'Table', 'Table'[Bank] ) )
RETURN
a & "-" & b
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks so much for your reply.
Acutally, I would like the report to present the category of the "bank" with the range of rate, and category "date" with single rate as you drill down using the minus symbol.
ex. the rate of the right side circle replacing the rate of the left side circle.
Hi @pohan10566 ,
You can use the HASONEVALUE function to create a measure, refer to the following:
Measure = IF(HASONEVALUE('Table'[Interest]),MAX('Table'[Interest]),MAX('Table'[range]))
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |