Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
v-dpjain
Employee
Employee

Need help with "Filter by List" Custom visual

Hi Team,

 

I have two line charts which shows revenue trend for two different set of customers. I have the chart as Date VS Monthly AVG revenue for the customers IDS (TPID)  and have applied the "Filter by List" Custom visual , where a user can input the list of customers(TPID) he want to check the revenue trend for . (see the image below) :

 

vdpjain_2-1649164218921.png

 

My objective now is to combine this two line charts into a single one, so that a user can easily compare the revenue trends of his chosen customer sets (Seomthing like below). I.e  A single chart to compare revenue trend between 2 or more sets of customer IDS which are been entered by the user in the "Filter by List" Custom visual

 

vdpjain_0-1649163928912.png

 

This is the table i am using for the visual

vdpjain_1-1649163997662.png

 

 

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @v-dpjain ,

 

You select 2 TPID in the slicer and in one formula you choose min TPID and another one you choose the second

TPID

Try to create two measures like below:

TPID1 =
var _min = MINX('Table','Table'[TPID])
return
calculate([Measure], 'Table'[TPID]=_min)


TPID2 =
var _max = MAXX('Table','Table'[TPID])
return
calculate([Measure], 'Table'[TPID]=_max)


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.