Forum Discussion
Calculated Columns Affected By Slicer Filters
- 3 years ago
csaethre19
I understood you wanted the overall for a day, Just do the below changes to the measures.
TotalRuns_Test =
CALCULATE (
DISTINCTCOUNT ( 'Test'[Experiment Id] ),
ALLEXCEPT ( Test, Test[Experiment Start Time] )
)FailureRate_Test = [FailureCount_Test] / [TotalRuns_Test]
Regards,Naveen
Hello csaethre19
Calculated columns cannot alter its calculation based on a slicer from report view. Create these same calculations as measure. That will work fine.
Let me know if this helps!
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Okay. Can you maybe point me in the right direction on how to accomplish a failure rate measure?
So far I have these measures:
As you can see from the table on May 1st I should show 20% for the failure mode in blue.
- NaveenGandhi3 years ago
Memorable Member
Can you provide sample data to understand the problem better, please make sure you include all the columns that will be required for calculation and visualisation.
Regards,
Naveen
- csaethre193 years ago
Helper II
https://drive.google.com/file/d/10tOYSEt6w-_WfEBi6L-oaamE1il9c6ws/view?usp=sharing
I have shared the .pbix file that is a simple idea of what I am trying to do. When setting the legend on the failure rate graph to failure mode you get incorect rates for each mode on each day. Something similar is happening in my real data set when I have these same measures.
- NaveenGandhi3 years ago
Memorable Member
csaethre19
can you provide access for the file.