How do you change the tables in chart filters

0 votes

I am working on a report that shows 3 different figures and a bar chart with some slicers 

The Table is shown below

A B C D

A1

1 9 20

A2

2 8 20

A3

3 7 20

Measure 1 - C/D 

Measure 2 - Calculate( Measure 1, AllExcept('Year'))

Measure 3 - Calculate( Measure 1, AllExcept('B'))

And the Bar Chart has  X Axis - B , (Drilldown A) 

Y Axis - Measure 1

If I use slicers the figures are changed correctly but if I select the bar chart, Measure 2 does not show the correct number 

How do you make Measure 2 to be able to change based on the chart 

May 10, 2019 in Power BI by Phalguni
• 1,020 points
650 views

1 answer to this question.

0 votes

Hi,

You can use the following measure.

Measure 2 = CALCULATE ( [Measure 1], FILTER ( Table, Table[Year] = MAX ( Table[Year] ) ) )
This can be done with the help of DAX in power BI
answered May 10, 2019 by Avantika
• 1,520 points

Related Questions In Power BI

0 votes
0 answers

How do you handle complex relationship-based calculations when multiple tables are involved in a DAX query?

How do you handle complex relationship-based calculations ...READ MORE

Oct 29, 2024 in Power BI by Evanjalin
• 9,880 points
77 views
0 votes
0 answers

How do you handle data type mismatches or conversion errors in Power Query when merging or appending tables?

How do you handle data type mismatches ...READ MORE

Oct 30, 2024 in Power BI by Evanjalin
• 9,880 points
137 views
+1 vote
1 answer

How do you handle complex relationship-based calculations when multiple tables are involved in a DAX query?

In Power BI, working with complex relationship-oriented ...READ MORE

answered Oct 30, 2024 in Power BI by pooja
• 11,230 points
111 views
0 votes
0 answers
0 votes
1 answer

How do I use Python scripts in Power BI?

Hi, You can create interactive reports out of ...READ MORE

answered May 2, 2019 in Power BI by Avantika
• 1,520 points
2,467 views
0 votes
1 answer

How To use R Integration in Power BI?

Hi,  There are a lot of packages available ...READ MORE

answered May 3, 2019 in Power BI by Avantika
• 1,520 points
2,665 views
0 votes
0 answers

How do you change the tables in chart filters?

I am working on a report that shows ...READ MORE

May 10, 2019 in Power BI by anonymous
654 views
0 votes
1 answer

How do I create a line chart?

Hi, From the data mentioned above, you can ...READ MORE

answered May 10, 2019 in Power BI by Avantika
• 1,520 points
740 views
0 votes
1 answer

How do you create a link visual in Power BI?

You can easily create a link between ...READ MORE

answered Mar 9, 2019 in Power BI by Avantika
• 1,520 points

edited Mar 9, 2019 by Avantika 5,306 views
0 votes
1 answer

How do you use R visuals in Power BI Desktop?

Hi, In order to use R Visuals you ...READ MORE

answered Apr 10, 2019 in Power BI by Avantika
• 1,520 points
771 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP