The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hi,
I want to remove or not consider empty values when I create a table with summarize:
How can I avoid this ?
thanks
Solved! Go to Solution.
Hi @cristianml ,
Please try:
_List Industry Segment =
VAR V1 =
SUMMARIZE ( 'Rev CCI', 'Rev CCI'[Industry Segment] )
VAR V2 =
SUMMARIZE ( 'CI', CI[Industry Segment] )
VAR V3 =
SUMMARIZE ( Attribute, Attribute[Industry Segment] )
VAR V4 =
SUMMARIZE ( DSO, DSO[Industry Segment] )
VAR V5 =
( DISTINCT ( UNION ( V1, V2, V3, V4 ) ) )
RETURN
FILTER ( V5, [Industry Segment] <> BLANK () )
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @cristianml ,
Please try:
_List Industry Segment =
VAR V1 =
SUMMARIZE ( 'Rev CCI', 'Rev CCI'[Industry Segment] )
VAR V2 =
SUMMARIZE ( 'CI', CI[Industry Segment] )
VAR V3 =
SUMMARIZE ( Attribute, Attribute[Industry Segment] )
VAR V4 =
SUMMARIZE ( DSO, DSO[Industry Segment] )
VAR V5 =
( DISTINCT ( UNION ( V1, V2, V3, V4 ) ) )
RETURN
FILTER ( V5, [Industry Segment] <> BLANK () )
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
78 | |
77 | |
37 | |
32 | |
30 |
User | Count |
---|---|
91 | |
79 | |
57 | |
48 | |
48 |