Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
Hi @tomws2000 ,
Thanks for reachging out to Microsoft Fabric Community Forum.
To enable dynamic row exclusion, implement a disconnected Exclusions table as follow. Create the Measure:
TotalValue = SUM(RawData[Value])
Add Category and TotalValue to a table visual.
When you right-click and exclude a row, the measure remains unchanged.
Create a Disconnected Exclusions Table:
Exclusions = DISTINCT(RawData[ID])
Keep this table disconnected and add a slicer with Exclusions[ID].
Update the Measure:
TotalValue_ExcludingSelection =
CALCULATE(
[TotalValue],
NOT(RawData[ID] IN VALUES(Exclusions[ID]))
)
Add a table visual with Category and TotalValue_ExcludingSelection. Selecting IDs in the slicer will dynamically exclude those rows, effectively simulating the Exclude feature. Apply conditional formatting or use bookmarks and buttons for enhanced interactivity. This method may effectively replicates right-click exclusion functionality.
Hi @tomws2000 ,
Thanks for reachging out to Microsoft Fabric Community Forum.
To enable dynamic row exclusion, implement a disconnected Exclusions table as follow. Create the Measure:
TotalValue = SUM(RawData[Value])
Add Category and TotalValue to a table visual.
When you right-click and exclude a row, the measure remains unchanged.
Create a Disconnected Exclusions Table:
Exclusions = DISTINCT(RawData[ID])
Keep this table disconnected and add a slicer with Exclusions[ID].
Update the Measure:
TotalValue_ExcludingSelection =
CALCULATE(
[TotalValue],
NOT(RawData[ID] IN VALUES(Exclusions[ID]))
)
Add a table visual with Category and TotalValue_ExcludingSelection. Selecting IDs in the slicer will dynamically exclude those rows, effectively simulating the Exclude feature. Apply conditional formatting or use bookmarks and buttons for enhanced interactivity. This method may effectively replicates right-click exclusion functionality.
Hi @tomws2000 ,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.
Hi @tomws2000 ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
Hi @tomws2000 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Hi @tomws2000 - You need to respect the existing row/visual filters by using ALLSELECTED or simply keeping the existing filter context.
Try the below measure:
1.4UNADJUSTEDPeriodA_Measure =
VAR SelectedReferenceDate =
SELECTEDVALUE(Time_Select_PeriodA[EndOfMonth])
VAR SelectedSamplePeriod =
SELECTEDVALUE(Time_MonthsBackA[N])
VAR CalculationStartDate =
EOMONTH(SelectedReferenceDate, -SelectedSamplePeriod)
-- Keep existing row/visual filters
VAR TimeFilteredRows =
FILTER(
Rawdata_,
Rawdata_[Date] <= SelectedReferenceDate &&
Rawdata_[Date] >= CalculationStartDate
-- No need to remove external filters
)
VAR TotalValue =
SUMX(TimeFilteredRows, Rawdata_[Value*Units])
VAR TotalBasis =
SUMX(TimeFilteredRows, Rawdata_[Units])
VAR WeightedAvg =
DIVIDE(TotalValue, TotalBasis)
RETURN
WeightedAvg
Hope this works. check and confirm.
Proud to be a Super User! | |
Hi @rajendraongole1 apologies as I cannot see the difference between those dax?
The key seems to be that a right click exclusion in a table showing rows of data
Column Structure for the table visual:
Date - Buyer - Units - Price
I have been asked to make users be able to exclude certain buyers from the table, and have the card visual update in response. This is because certain buyers are key clients and pay a lower rate, but we want to see the average recalculated without them sometimes. The basis for this is discretionary for the user, so simply assigning a classification in the data and excluding via slicer is not a solution, it needs to be possible for users to select and exclude.
There are two table visuals showing different user selectable periods for comparison, and card visuals with the weighted average price per unit.
a
Hi there - thank you so much for your reply. I may be wrong - but I cannot see the difference between the two measures above?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 48 | |
| 45 |