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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ash50210
Frequent Visitor

how to return values except from filtered list.

 

Hi,

 

below is my table. I would like to return in Ageing column is the reverse value of selected in column "Count of SR Submit Date".

 

Example is below:-

Desktop total is 800

Count of SR Submit Date is 275

Ageing is 800-275= 525<- I want this value to be return at Column ageing.

 

 

help 1.JPG

 

 Thanks is advance.

 

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @ash50210

 

You could create the Calculated column like below to get your desired output.

 

Aging =
'Sheet4'[Total]
    - CALCULATE (
        DISTINCTCOUNT ( Sheet4[Product] ),
        FILTER ( Sheet4, 'Sheet4'[Product] = EARLIER ( 'Sheet4'[Product] ) )
    )

The result is below.

 

Capt2ure.PNG

 

In addition, you could refer to my test pbix file.

 

If you need additional help please share some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

hi @v-piga-msft,

 

I saw your solution but 1 thing different between your solution is my raw data don't have the column with total products. I get the total from the count of the products in visualization. I attached a sample of my raw data here.

 

if you have another idea to calculate the aging of this situation is more helpful

 

thanks for your helps!

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.