Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
hi everyone, I have one problems where I have a date range filter in my report using transaction date in Db. this filter is not impacting the table visual as in I edit interaction and select None for table visual. I only want to use this date filter in my leave calculation (example for transaction type = carryover, entitlement, expiry, etc).
however, I cant get the calculation to honour the selected date range. says I want to calculate the expiry leave between Jan 1, 2025 - Jan 31, 2025.. it will sum up all expiry transaction type records in the table. how do I fix this or anyone has any idea how to make it work?
I've tried with calculated column and measure but both doesnt seems to work
Ok, from my understanding
The problem is because the interation is set to None, there is no date filter context on the table for the leave measure to pick up.
Since you are creating a leave calculation, you should be turn the interation back on. You can get the filtered rows to reappear with the measure. in the measure you can use CALCULATE( , REMOVEFILTER( Date ) ) to remove the effect of the date slicer. With VALUES( date[date] ) you can grab all the dates from the slicer for use in your calculation
Cant comment without having a understanding of your semantic models structure
hi @Deku , let me share my report structure.
I have one table with leave transaction details and a custom table where I create the calendar table
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
66 | |
66 | |
48 | |
31 |