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.
Hi Anonymous ,
Sorry to reply late.
You can create your measures in any table. However, the new table "Concatenat" which is a slicer table need to be independent of other tables. If it is not independent of other tables, it will be affected by them when selected. The effect is called interaction.
Best Regards
Icey
Ok thank you Icey.
Kind regards,
pv