Forum Discussion

nick9one1's avatar
nick9one1
Helper III
1 year ago
Solved

slicing a table between two dates

I have a table of assets. Each asset has a start and end date (when it was new and when it broke or stopped working). My report has a date dimewnsion table (dim_date), that I use in the slicer to se...
  • V-yubandi-msft's avatar
    1 year ago

    Hi nick9one1 ,

    Thank you for engaging with the Microsoft Fabric Community. I tested your requirement with some dummy data and successfully replicated a solution where the bar chart displays all assets that were active during the date range selected via the slicer from the dim_date table.


    1. The visual uses this measure as a filter (IsAssetAlive=1) to only include those assets.
    2. The bar chart then shows the count of AssetID by AssetName for only the alive assets in the selected time range.
    FYI:

     

     

    I’ve attached a sample .pbix  file that demonstrates this behavior. Could you please review and confirm if this aligns with your expected outcome?

     

    If my response solved your query, please mark it as the Accepted solution to help others find it easily.

    And if my answer was helpful, I'd really appreciate a 'Kudos'.