I had created a Pivot which uses Power Bi model as it's data source (Analysis services). Since my data is huge and there limitations of pivot, I am exploring other ways of pulling the data.
I converted the sample Pivot to Olap Formula and I think this is the best solution from all the options I have explored. But there is some odd situation I am facing where I need some help.
I tweaked the structure as shown below. So now whenever I change any string like in the below example if I manually change the currency from SGD to USD, I am getting the result. But whenever I try to Manually change any numeric value like Segment, I am getting #N/A. The same numbers when pulled using pivot gives the number.
I have tried to insert the numeric value in following ways
40
'40
="40"
=text("40",0)
text to columns->text
but till now I am not able to crack this.
The cubevalue function expects dimensions on which it is going to filter the values. If you want to provide the value manually you'll have to do it like this:
=CUBEVALUE("Sales","[Measures].[Profit]","[Time].[2004]","[All Product].[Beverages]")
Meaning you'll have to change the 40 to something like [MyDimension].[MyHierarchy].[40]
I'm trying to clean up job title data using the formula below:
=IF(OR(ISNUMBER(SEARCH({"admin","reception","account","finance","HR","public","sales","customer","creative","IT","human"},A1))),"",A1)
It should work by eliminating job titles with any of the texts specified in the quotes above. However, I've encountered an issue where it doesn't. In a case where the job title is Quantity Surveyor, the title contains none of the specified texts but Excel seems to reflect it as such. What am I not doing right here?
Quantity Surveyor Example
To extract the information you are looking for, this is the formula you want to use:
=IFERROR(IF(OR(ISNUMBER(SEARCH({"admin","reception","account","finance","HR","public","sales","customer","creative","human"},A1)),NOT(SEARCH("Quantity",A1))),"",A1),"")
Using countif you don't need to check for errors if they occur:
=IF(OR(COUNTIF(A1,{"admin","reception","account","finance","HR","public","sales","customer","creative","human"}))+COUNTIF(A1,"<>Quantity"),"",A1)
Select the part of formula of search, and then press F9. You will find the match result of 6, where it has original value of 'IT', it means Quantity, has IT.
I really donot know why there is negative vote as not useful.
Here is the formula to solve your problem
=IFERROR(LOOKUP(1,0/FIND({"admin","reception","account","finance","HR","public","sales","customer","creative","IT","human"},A1)),A1)
Of course, it is better to define a range instead of hard code {}, like below
=IFERROR(LOOKUP(1,0/FIND($J$2:$J$7,A2),$K$2:$K$7),A2)
Hello i'm having problems with getting this to work. What i'm trying to do is when you insert a set of measurements i want excel to show the ( In this case products) which are closest to those measurements.
here is a picture:
The result i'm trying to reach is when you type in the measurements you get product(s) and the manufacturer which are closest to those measurements.
Any help is greatly appreciated.
In essence, what you are after is an index+match function. It will allow you to find a value in one list, given a corresponding variable. In this case, given a measurement, it will find a manufacturer and product combo in your list.
Your problem is that you will need to adapt your data to allow for this. For example, you need to decide whether you only want the closest match for measurements or if you need the closest match that is greater than the measurement you provide.
It is also possible that you'll need to split your measurement column into two different columns (unless all you need is the total area irrespective of individual lengths).
You could potentially avoid the index+match by using conditional formatting, but that would still require the data manipulation.
Given the information you provided, the answer will never be much more informative than this. But this should get you started and the following steps can be made easier with help from google.
I've a game schedule where I do the referee nominations - please see the file
I want to be able to filter the columns gym, date and referee. I know how to do that on gym and dates, with the Autofilter. My problem is the referees, because the same referee can appear in bot columns referee 1 and 2 . Can you suggest any solution to this problem?
My second question is: I want to list each referees partners, thought to solve this with Pivot table - is pivot table the best solution, or du you have any other solution?
Thanks in advance for your help
Peter
file: https://www.dropbox.com/s/p798eq4u89...lish.xlsx?dl=0
MY COMMENT: I didn't look at your file but a generic approach to "normalizing" this list is to put all referees in the same column and create another column for whether they're #1 or #2 in that instance. This generally make pivoting and other data analysis easier.
So again, I haven't looked at your sheet (because I'm careful that way) and unfortunately SO doesn't let you post a picture yet, so this is just how I'd do it based on your words:
To the left is the table and to the right the pivot. You can see the referee number column that I proposed in the table. I didn't use it in this version of the pivot, but I suppose it might be handy somehow. The pivot shows who's reffing what game and let's you see at a glance that there's two different refs per game, who they are, and that they're getting their days off.
Here's how I set up the pivot:
I hope that gives you some ideas.
I have an Excel sheet where i have a Column with Format "Currency". When i sort on this column it is not sorting properly seems like taking data as "String".
Here is an example
Potential Amount
$9,421
$86,533
$12,727
$77,720
should be sort to following
Potential Amount
$9,421
$12,727
$77,720
$86,533
Is there any way to keep data format "Currency" like $8,99,4 and make sorting work as well.
Please advise.
I was only able to replicate your problem by formatting some of the data as text and some as currency.
As I don't have enough points to comment(at this point), I'll leave an answer instead. The comment left by Jerry under your original question should fix your problem.
It looks like some of your data has a different format. Please select ALL of your data and reformat it as currency.
Then re-sort the data.
Seems all values are string. Covert it to values like
=VALUE(MID(A1,2,LEN(A1)))
Then format-cell apply currency with $ symbol. Now you can apply sorting.