Forum Discussion
LAndris
5 years agoHelper I
Measure in Matrix making Column not filter correctly.
Hi All, I am having an issue when filtering my matrix column headers. In the Column field I have periods that are being displayed and a filter that should show filter which types of periods are b...
- 5 years ago
Hi LAndris,
The Format Function is formatting Blanks() to an empty string, if you modify the measure to
Count_And_Average_DrillThrough = IF( SelectedValue('RPT01 02_AmountType'[AmountTypeId]) <= 100 && SUM('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) <> BLANK() ,Format( CALCULATE( SUM('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) ) ,"General Number" ) ,CALCULATE( AVERAGE('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) ) )you get the following result
Now you weeks are not ordered properly, but that is a whole other issue!
Thanks,
richbenmintz
5 years agoResident Rockstar
LAndris
5 years agoHelper I
Here is a link to the pbix: https://ratingdynamics-my.sharepoint.com/:u:/g/personal/landris_i4ins_com/Eaie2zb4RchFsjfB5LaLggwBq06zjvh9F_5xLAZ3i1ULgg?e=DxUSoI
The measure should be what was in the image above.
- richbenmintz5 years agoResident Rockstar
Hi LAndris,
The Format Function is formatting Blanks() to an empty string, if you modify the measure to
Count_And_Average_DrillThrough = IF( SelectedValue('RPT01 02_AmountType'[AmountTypeId]) <= 100 && SUM('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) <> BLANK() ,Format( CALCULATE( SUM('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) ) ,"General Number" ) ,CALCULATE( AVERAGE('RPT01 01_CycleTimeReport_Amount_Row'[Amount]) ) )you get the following result
Now you weeks are not ordered properly, but that is a whole other issue!
Thanks,