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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Didacster
Frequent Visitor

How I can compare one agent in data vs the rest of the data

I have a table of different agents in one column, and two columns with the billing and origin of every payment. 

 

Every line is a date with the name of agent, and both values. 

 

I'm trying to created one chart with information of a agents selected with a filter, thats easy.

The problem is when I try to created another chart with the information about the rest of agents, for compare the distribuetion of billing vs portfolio. 

 

In my attempt, I have created a measure and aply to the filter of chart with the DAX sentence: 

 

"measure = CALCULATE(

    IF( ISFILTERED(TABLE[COLUM_AGENT]),0,1), 

    allselected(TABLE))"

 

With this sentence I try ti evaluate every line of column, but only evaluate if the colum is filtered...,

 

Thank you!

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @Didacster ,

 

In order to better understanding your demands and give the right solution, could you please share with me some screenshots of your data after hiding sensitive information and tell me what's your expected output?

 

Thanks for your efforts & time in advance.

 

Best regards,

Yadong Fang

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.