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
dw700d
Post Patron
Post Patron

HELP !!! deadline approaching I cant filter the data in my table

I have three calculations, Days remaining to spend( End date – current Date) Months Remaining to spend (End date – current month) and percentage complete (spend/amount).  I want to be able to filter these calculations by the Tracker column but I cant figure  out how. I have done the calculations in excel already I just need the ability to filter by tracker. I tried to list the contribution type twice in this table in an attempt to get the tracker filter to work but that inflates the numbers because its summing both rows. I tried to create two different tables but I couldnt establish a relationship. I am also filtering by contribution type which I am able to do with no trouble. Any one have suggestions?

Contribution TypeAmountDateTrackerDays Remaining To SpendForecast Pacing DateMonths Remaining to Spendpercentage complete
Contribution 1100,00012/30/201955 Month Tracker146312/31/2026480.92%
Contribution 2$250,0006/29/202055 Month Tracker164712/31/2026540.92%
Contribution 367,00012/31/202055 Month Tracker182812/31/2026600.92%
Contribution 1100,00012/30/201931 Month Tracker73212/31/2026240.92%
Contribution 2$250,0006/29/202031 Month Tracker91612/31/2026300.92%
Contribution 367,00012/31/202031 Month Tracker109712/31/2026360.92%

Capture.PNG

 

 

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @dw700d 

Due to I dont know what will the Slicer based on Tracker filter and what result you want, I build a table like yours and have a test.

1.png

Then I use calculated column to add columns.

 

Days Remaining To Spend = DATEDIFF('Start'[Date],'Start'[End date],DAY)
Months Remaining to Spend = DATEDIFF('Start'[Date],'Start'[End date],MONTH)
percentage complete = DIVIDE('Start'[Spend],'Start'[Amount])

 

Result is as below:

2.png

You can build a Slicer by another table like that:

3.png

Then build measure to calculate the value you want, measure is as below:

 

Measure =

var _select = SELECTEDVALUE(Slicer[Tracker])

return

IF(_select = "31 Month Tracker",SUM('Start'[Days Remaining To Spend]),0)

 

Result:

When I select 31 Month Tracker the visual will show the summing of Days Remaining To Spend.

5.png

When I select 55 Month Tracker the visual will show 0.

6.png

You can change two values in red box, and get different results as you want.

4.png

If this reply still couldnt help you solve your problem, please provide me your date source and give me more details like what value you want the tracker filter or the screenshot of the result you want, and you can share your pbix file with me by your onedrive for business. And you can show me your calculate logic just like if I select 31 Month Tracker what result will the visual as below show, and the result when I select 55 Month Tracker.

2.png

You can download the pbix file from this link: deadline approaching I cant filter the data in my table

 

Best Regards,

Rico Zhou

 

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

View solution in original post

3 REPLIES 3
v-rzhou-msft
Community Support
Community Support

Hi @dw700d 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem or share me with your pbix file from your onedrive business.

 

Best Regards,

Rico Zhou

v-rzhou-msft
Community Support
Community Support

Hi @dw700d 

Due to I dont know what will the Slicer based on Tracker filter and what result you want, I build a table like yours and have a test.

1.png

Then I use calculated column to add columns.

 

Days Remaining To Spend = DATEDIFF('Start'[Date],'Start'[End date],DAY)
Months Remaining to Spend = DATEDIFF('Start'[Date],'Start'[End date],MONTH)
percentage complete = DIVIDE('Start'[Spend],'Start'[Amount])

 

Result is as below:

2.png

You can build a Slicer by another table like that:

3.png

Then build measure to calculate the value you want, measure is as below:

 

Measure =

var _select = SELECTEDVALUE(Slicer[Tracker])

return

IF(_select = "31 Month Tracker",SUM('Start'[Days Remaining To Spend]),0)

 

Result:

When I select 31 Month Tracker the visual will show the summing of Days Remaining To Spend.

5.png

When I select 55 Month Tracker the visual will show 0.

6.png

You can change two values in red box, and get different results as you want.

4.png

If this reply still couldnt help you solve your problem, please provide me your date source and give me more details like what value you want the tracker filter or the screenshot of the result you want, and you can share your pbix file with me by your onedrive for business. And you can show me your calculate logic just like if I select 31 Month Tracker what result will the visual as below show, and the result when I select 55 Month Tracker.

2.png

You can download the pbix file from this link: deadline approaching I cant filter the data in my table

 

Best Regards,

Rico Zhou

 

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

amitchandak
Super User
Super User

@dw700d , looking at data shared you should be able to filter contribution type. Unless you used all in your measure. I am not able to visualize your challenge.

 

Can you share sample data and sample output in a table format?

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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.