In order to filter down my data to show a distinct list of textural values, I needed to create a numberic measure to show the results and eliminate blanks where data was not filled in. Problem is the results are all the number "1" if they are valid to show on the resulting pivottable. Of course the number itself has no value. The measure is necessary to get the right results back. I do however like the subtotal that shows the total number of items returned under it so:
I want to get rid of all those non bold 1's. If I get the measure to return blank for the output, then like on Brazil, I get an extra row that is blank with a count of 3 instead of 2. I can hide the whole Measure 5 column by selecting the column it resides in on Excel and hiding, but loose the subtotals. Can live with that but prefer not to.
Measure 5 is: CALCULATE(DISTINCTCOUNT((Table_owssvr[Vendor])), filter(Table_owssvr,NOT(ISBLANK('Table_owssvr'[Vendor])))
Table data is table name: Table_owssvr and data relevant here:
One line per application the vendor worked on so everything could be repeated multiple times in the table if a vendor did more than one app for the country or multiple versions of the app. Bunch more fields but not relevant. Trying to show a distinct list of vendors each country has worked with, make sure blanks are skipped, and NOT show that stupid 1,1,1,1,1,1,1,1,1,1,1... for each line. Is this possible at all?
Thanks.
I want to get rid of all those non bold 1's. If I get the measure to return blank for the output, then like on Brazil, I get an extra row that is blank with a count of 3 instead of 2. I can hide the whole Measure 5 column by selecting the column it resides in on Excel and hiding, but loose the subtotals. Can live with that but prefer not to.
Measure 5 is: CALCULATE(DISTINCTCOUNT((Table_owssvr[Vendor])), filter(Table_owssvr,NOT(ISBLANK('Table_owssvr'[Vendor])))
Table data is table name: Table_owssvr and data relevant here:
- Country
- Vendor
- Application (App the Vendor worked on)
One line per application the vendor worked on so everything could be repeated multiple times in the table if a vendor did more than one app for the country or multiple versions of the app. Bunch more fields but not relevant. Trying to show a distinct list of vendors each country has worked with, make sure blanks are skipped, and NOT show that stupid 1,1,1,1,1,1,1,1,1,1,1... for each line. Is this possible at all?
Thanks.
Last edited: