Forum Discussion
infantpowerbi
Helper II
7 years agoRequired two measure’s value across an axis in Line Chart based on slicer
Dear All,
- I am new and infant to power bi and facing lot of challanges for moving Tableau reports to Power BI
- And below is the sample data format which is in my oracle db
Company Q2 FY 2018 Q3 FY 2018 Q4 FY 2018 Q1 FY 2019 Q2 FY 2019 Q3 FY 2019
X 0 0 0 0 0 0
Y 0 0 0 0 0 0
Z 1 2 0 4 5 0
All 0 1 3 4 2 5 - I had line chart which is desinged in tableau with 2 lines one is orange color line which is for company A and other is Blue color line which is for X,Y,Z
- I had created a power bi report where I am able to show only one line in a legend whcih is applied for All,X,Y,Z companies
when I select any value in slicer. - But my requirment is what ever company I select in slicer it should display in line chart along with company A as shown in above tableau line chart
http://www.mediafire.com/folder/jn1hiwrqhm6gt/LineChart
Can any one please help me in solving this issue ,For refrence you can download the file from above line
5 Replies
- v-piga-msft
Resident Rockstar
Hi infantpowerbi ,
For your requirement, please try this measure below.
All = CALCULATE ( SUM ( 'Table2'[Value] ), FILTER ( ALL ( Table2[District] ), 'Table2'[District] = "ALL" ) )Here is the ouptut.
More details, please refer to the attachment.
Best Regards,
Cherry
- infantpowerbi
Helper II
Tq very much you are my galidator :smileyvery-happy: ,
I lost hope on this
- infantpowerbi
Helper II
Hello,
In my case it'snot working ,
Requeest you to please kindly please review my pbix file and please let me know what's the issue
and where I am missing to get the things done
http://www.mediafire.com/folder/ifj41f0t3w30g/2_lines_in_Line_charts