Hello I am using power pivto in Excel 2010 in order to create some reports, the problem is that in my reports i need not only numeric columns but text. I know DAX measures can return text, but in this case the problem is that the text column should be used as input for the measure. My data are like this
Country Year Value Flag
UK 2008 2 a
UK 2009 10 b
UK 2010 7 b
UK 2011 8 p
US 2008 2
US 2009 11
US 2010 5 a
US 2011 3 p
My report should look like:
Country 2008 2009 2010 2011
UK 2 a 10 b 7 b 8 p
US 2 11 5 a 3 p
Obvously I can do it without the flags easily, I could replace the flags by numeric values and at the end transform the numbers in the correspondant flag, but that requires processing in every single report I have to do.
I can do it also with CUBE functions, but again not ideal.
The ideal would be to have a measure that could return the flag associated to the value
Is that possible
Country Year Value Flag
UK 2008 2 a
UK 2009 10 b
UK 2010 7 b
UK 2011 8 p
US 2008 2
US 2009 11
US 2010 5 a
US 2011 3 p
My report should look like:
Country 2008 2009 2010 2011
UK 2 a 10 b 7 b 8 p
US 2 11 5 a 3 p
Obvously I can do it without the flags easily, I could replace the flags by numeric values and at the end transform the numbers in the correspondant flag, but that requires processing in every single report I have to do.
I can do it also with CUBE functions, but again not ideal.
The ideal would be to have a measure that could return the flag associated to the value
Is that possible