Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi everyone;
I need to compare values from a table with values from a calculated measure.
In the table there will be 4 countries and the calculated measure will be one of them. So I need to make two groups, group one that is the country selected in the calculated measure and the rest of them.
Thanks! Regards!
Would you be able post a sample dataset? @juanlopezmeyer
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
HI @LivioLanzo, thanks for answer.
I can not find the option to upload a file to the answer.
If you give me an email I can send you an example.
Thanks again
you can upload it to dropbox and post a link
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
HI @LivioLanzo
The objective is to create a variable to use in the bar chart that allowed me to select a country from the filter and that country change color in the graph
@juanlopezmeyer,
Create the Paises table as below, then create a measure using DAX below in the Costo table.
Measure = SELECTEDVALUE(Paises[Codigo])
Drag the measure to your chart, and configure data color as shown in the screenshot below. Please note that we are only able to configure three different colors for three different countries but nor more than that.
Regards,
Lydia
Thanks @LivioLanzo
Here is the link https://www.dropbox.com/s/pezsur65gx7pzby/Prueba%20Seleccion%20Empresa%20Color.pbix?dl=0
Thanks for your time
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
126 | |
78 | |
78 | |
59 | |
51 |
User | Count |
---|---|
165 | |
83 | |
68 | |
68 | |
59 |