IIF() function issue
Hi Ram,Based on your requirement, I think you need to create Named Calculation, whose value is based on this condition. Steps are below:1. In Solution Explorer, expand the Data Source Views folder,...
View ArticleIIF() function issue
Aniruddha,I tried. But I am getting "1" for all the employes. For my dimension having employeename, projecttype in same dimension. then why it is showing wrong pls give me idea.thanksRam
View ArticleIIF() function issue
Hi Ram,You can create a calculated member in the Calculations tab of BIDS.CREATE MEMBER CurrentCube.[Measures].[x] AS IIF ( [Employee].[Project Type].CurrentMember.Name =...
View ArticleIIF() function issue
Thanks for your reponse. Query it is work fine. but i want to only without select clause part.Since I used to create a new calculate member in the SSAS. so i used only for the IIF() function part...
View ArticleIIF() function issue
Just to add to what Aniruddha says. using properties is going to be the easiest way of solving this problem; the approaches you describe in your original post work in most cases but not for...
View ArticleIIF() function issue
You should also include "[Employee].[Project Type]" in your select clause, probably this query should work.WITH MEMBER [Measures].[Type] AS IIF ( [Employee].[Project...
View ArticleIIF() function issue
You can use Properties. WITH MEMBER [Measures].[x] AS IIF ( [Product].[Product].CurrentMember.Properties("Color") = 'Black' ,TRUE ,FALSE ) SELECT [Measures].[x] ON 0...
View ArticleIIF() function issue
Yes. "Employee" is a dimension it is contain the EmployeeName, ProjectType, BillableType, etc.,
View ArticleIIF() function issue
Is [Employee].[Employee Name] a parent/child hierarchy?ChrisBlog: http://cwebbbi.wordpress.com/ Consultancy: http://www.crossjoin.co.uk/
View ArticleIIF() function issue
Thanks for your quick responses in Thomas, and AniruddhaI have tried but I am get same value in all the employee. My requirement is what are the employee's Projecttype in "Retainter" that should be 1,...
View ArticleIIF() function issue
Modify your statement like this;WITH MEMBER [Measures].[Type] AS IIF ( [Employee].[Project Type].CurrentMember.Name = "RETAINER" ,"Bill" ,"NonBill" ) Example using...
View ArticleIIF() function issue
can u try the below code WITH MEMBER [Measures].[Type] AS IIF( [Employee].[Project Type].currentmember IS [Employee].[Project Type].&[RETAINER], "Bill","NonBill") Refer...
View ArticleIIF() function issue
Hi,My aim is comparing the Projecttype. If it is ProjectType “Retainer” means it is “Bill”, otherwise “NonBill”. But this code it return always “NonBill”. What is the problem for the following code?...
View Article
More Pages to Explore .....