Forum Discussion
SelectedValues function not displaying values for all userid
- Anonymous2 years ago
Hi Anonymous ,
I created some data:
Are you referring to the current year and current month in table DIM_DATE_VW, showing the collection corresponding to table FACT_ABCD_VW[USER_ID]?
Here are the steps you can follow:
1. Create measure.
Measure = CONCATENATEX( FILTER(ALL(FACT_ABCD_VW), YEAR('FACT_ABCD_VW'[Date])=YEAR(MAX('DIM_DATE_VW'[Date]))&& MONTH('FACT_ABCD_VW'[Date])<=MONTH(MAX('DIM_DATE_VW'[Date]))),'FACT_ABCD_VW'[USER_ID],"-")2. Result:
If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi Anonymous ,
I created some data:
Are you referring to the current year and current month in table DIM_DATE_VW, showing the collection corresponding to table FACT_ABCD_VW[USER_ID]?
Here are the steps you can follow:
1. Create measure.
Measure =
CONCATENATEX(
FILTER(ALL(FACT_ABCD_VW),
YEAR('FACT_ABCD_VW'[Date])=YEAR(MAX('DIM_DATE_VW'[Date]))&&
MONTH('FACT_ABCD_VW'[Date])<=MONTH(MAX('DIM_DATE_VW'[Date]))),'FACT_ABCD_VW'[USER_ID],"-")
2. Result:
If it doesn't meet your desired outcome, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Anonymous2 years agoNot applicable
Thanks, will try and get back on same