Solved

How to create a calculated measure in AS 2008 that counts customers with sales amount > 150?

Posted on 2009-07-06
8
420 Views
Last Modified: 2013-11-16
Dear Experts,
in AS 2008 I try to figure out, how to create a calculated measure that counts customers with sales amount > 150 ¬ over all dimensions (Time, Product, Customer Hierarchies etc.). I created a cube measure with DISTINCT COUNT on Customer ID in fact table. This measure counts all customers who appear in the Sales Fact table (counts buying costumers).  
I tried Count(Filter([Customer].[ID].[ID], [Measures].[Sales Amount] > 150)), but it does not work in any dimension, when browsing the cube.
Can anybody help?
Zannadar
0
Comment
Question by:Zannadar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
8 Comments
 
LVL 15

Expert Comment

by:rob_farley
ID: 24801530
How about you make a named set of customers like this, and then you could count how many of those appear in just about any other dimension?

Rob
0
 

Author Comment

by:Zannadar
ID: 24834136
Hi Rob,
please excuse my delay, i was offline for a few days.
Yes, I can build a named set like this:
CREATE DYNAMIC SET CURRENTCUBE.[Kunden mit Listpreis 150 EUR]
 AS Filter([Customer].[ID].[ID].members, [Measures].[Sales amount] >= 150), DISPLAY_FOLDER = 'Sets'  ;
But I need a measure, explicitely for Excel, where Sets cannot fuction as report filters in Pivot tables. I also need a measure, so I can use this value in my already existing reports.
There must be a way...
0
 
LVL 15

Expert Comment

by:rob_farley
ID: 24834163
Once you have your set, can you make a measure based on it?

Rob
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

Author Comment

by:Zannadar
ID: 24835289
How would it look like, then?

Zannadar
0
 
LVL 15

Accepted Solution

by:
rob_farley earned 500 total points
ID: 24836468
What about something simple like:

([Kunden mit Listpreis 150 EUR], [Measures].[Customer Count])

Rob
0
 
LVL 15

Expert Comment

by:rob_farley
ID: 25028514
Not 24836468 ?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question