Forum Discussion
Get data from table 2
- 6 years ago
Hi Anonymous ,
Your column chart's x-axis and y-axis are both from Table 1, not Table 2. So, it will show blank when you choose "January" or "February".
Try this:
1. Create measures. Please pay attention to your blank values in "Concatenate". Not blank, but " ".
Count of Defected data = IF ( MAX ( 'Data Collection'[Concatenate] ) = " ", BLANK (), COUNT ( 'Data Collection'[Concatenate] ) )Count of defected = IF ( MAX ( 'dCollection(Jan-Feb)'[Concatenate] ) <> " ", COUNT ( 'dCollection(Jan-Feb)'[Concatenate] ) )Defected all = IF ( ISBLANK ( MAX ( 'Concatenate'[Concatenate] ) ), BLANK (), [Count of defected] + [Count of Defected data] )2. Create a table.
Concatenate = FILTER ( VALUES ( 'Data Collection'[Concatenate] ), 'Data Collection'[Concatenate] <> " " )3. Create a column chart.
PBIX file attached.
Best Regards,
IceyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear Anonymous
I'm trying to understand that from the table 2,
what columns/measures do you want to display in the report
If using single measures between table 1 and table2 then create the calculated measures from 2 tables
Regards,
Munna
- Anonymous6 years agoNot applicable
Dear vijaykolisetty,
Thank you so much for the reply.
I've created measures. I hope you can understand after see the below print screen. I don't understand one more thing here, I created relationship with date column for three tables and if select column from one table then automatically show linked table (highlighted with tick mark for table in the left corner) but it doesn't show that.
I'm thinking my table relationship is wrong. Is that right?
Kind regards,
pv
- Anonymous6 years agoNot applicable
Dear Anonymous
Thank you for the screenshot, in this case there are 2 possibilities
1. To check the relationships or change the relationship type into bi-directional
2. Check the data type of the date or change the date column into date format and test the data.
Regards,
Munna
- Anonymous6 years agoNot applicable
Thank you Munna. I'll check it.
Kind regards,
pv