The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Team,
recently we have used Linear Guage chart in our dashboard
Script | Value | Date |
Equity | 4 | 1/30/2024 |
Commodity | 3 | 1/30/2024 |
currency | 5 | 1/30/2024 |
Equity | 3 | 1/29/2024 |
Commodity | 1 | 1/29/2024 |
currency | 4 | 1/29/2024 |
we need to create a three bands based on the date filter and the above values from 1to 5 always
basically we need to create 5 colured texboxes like below
Thanks
Solved! Go to Solution.
Hi @anshenterprice ,
Are you using the following visualization?
If so, based on the sample and description you provided, please try the following steps:
1.Use the following code to create Measure.
Equity_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "Equity" && 'Table'[Date] = MAX('Table'[Date]))
)
Commodity_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "Commodity" && 'Table'[Date] = MAX('Table'[Date]))
)
currency_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "currency" && 'Table'[Date] = MAX('Table'[Date]))
)
2.Put the measure value into your Visualization and do the following.
3.Set the maximum value to 5 in the Visualization panel.
When you select "1/29/2024" in the slicer, Result is as below.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @anshenterprice ,
Are you using the following visualization?
If so, based on the sample and description you provided, please try the following steps:
1.Use the following code to create Measure.
Equity_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "Equity" && 'Table'[Date] = MAX('Table'[Date]))
)
Commodity_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "Commodity" && 'Table'[Date] = MAX('Table'[Date]))
)
currency_Value = CALCULATE(SUM('Table'[Value]),
FILTER('Table','Table'[Script] = "currency" && 'Table'[Date] = MAX('Table'[Date]))
)
2.Put the measure value into your Visualization and do the following.
3.Set the maximum value to 5 in the Visualization panel.
When you select "1/29/2024" in the slicer, Result is as below.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @anshenterprice
It seems a classic scenario for a bullet chart.
Please refer :
https://www.youtube.com/watch?v=QcHeq5nJUTc
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
122 | |
89 | |
75 | |
55 | |
45 |
User | Count |
---|---|
134 | |
120 | |
76 | |
65 | |
64 |