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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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