EazyBI Issues created by Dayname - jira

i have a problem with EazyBI MDX. First of all, i am very new to EazyBI and Jira.
I need to create a Member which sums up all the Issues created on a Saturday. Hope someone can help me.
Kind regards

It is quite easy but you should read EazyBI documentation first. Your question sound like "what is eazybi?".
My advice, have a look to the following resources:
https://docs.eazybi.com/display/EAZYBI/Getting+Started https://docs.eazybi.com/display/EAZYBI/MDX+Function+Reference
Regarding to your question you don't need to create a new member. Simply use Time dimension and issue dimension. Check Time dimension using the herarchy section to choose the days that you need (you can remove other days of the week). In the issues dimension you can select created ones.
Measure dimension would be useful also.
I hope this will help you to build this report and other reports in the future.
Kind regards

First of all, you need to create a calculated member under [Time] dimension like below and name it like [Time].[Saturday]:
Aggregate(Filter(
[Time].[Day].Members,
[Time].CurrentMember.Get('Week day name') MATCHES 'Saturday'
))
Then put [Time] dimension into Rows, choose the calculated member [Time].[Saturday](unselect default All Times members). In Columns, make sure you select [Measures].[Issues created](this is default selection). Then you have the sums up.

Related

Tableau 2nd, 3rd, etc. most items

UPDATE:
There is an awesome answer at the link now.
ORIGINAL POST:
I ran across a Tableau community thread describing a way to use a calculated field to find the 2nd highest value using MAX. Per the response, there seems to be a way to drill down to also get the 3rd highest item as well. I'm having an issue figuring that portion out. I'm hoping someone could help me out. In the end I really need to use a calculated field to find the 3rd highest value of an item. Rank and Index are not an option for what I'm doing.
The following calculated field finds the 2nd highest value.
{MAX(
{fixed [Customer Name: IF SUM([Sales]<MAX({MAX({fixed [Customer Name]: SUM([Sales])})}
THEN SUM([Sales]) END}
)}
How do I modify the above to find the 3rd highest value?
This link is to that conversation for situational awareness. Thought it might help with context.
https://community.tableau.com/s/question/0D54T00000I2PrVSAV/second-highest-sales-value-by-the-customer-using-lod?t=1672415425258
I've tried all sort of things that didn't work.

How to check if dimension value is available on all days in tableau

I have two input dimensions i.e. Day and Product_sold and I want to create a calculated field "Flag" in Tableau. Basically Flag will show "Yes" if the product was sold on all days, else No (see example attached), can you please help? I have tried multiple things but no use
You can create a fixed LoD calculation to count distinct number of days in data. Then used another fixed LoD (or possibly a table calc) to count distinct days for each product. If the product COUNTD = dataset COUNTD than it sold on every day.
What have you tried so far? This looks like a simple attribution calc that could be put together as boolean eg:
Product_sold = 'computer'
Steve

Sum durations if they meet a criteria? (Google sheets)

I'm trying to create a dynamic dashboard for staff to track the total amount of time they've worked for our program. They fill out a form with start/end time and denote if it's work that's eligible for our program to pay them for it. I'm building a dashboard where they can see how many extended hours they've racked up over the course of the school year because we have limits on how many hours they can earn.
I'm including an editable
copy of my spreadsheet to show what I've got so far... I'd like to add up any durations in column E that have a "Yes" in Column F (which is all of them at the moment) and have that sum sit in cell C5. But all I can get it to do is sum up to zero, and I can visibly see that it should be more than zero. I've tried changing the format of the cell(s) too, but it's still zero.
Any help or ideas are greatly appreciated! And I'm always trying to learn and improve, so if you know how to do this and don't mind explaining to me how the solution works, I'd also really appreciate that so that I can keep getting better at Sheets. :)
Thanks in advance!
This is because the numbers in column J (in Data sheet) are stored as text. Either enter them instantly as numbers or use the helper column where they are converted by the formula e.g. =VALUE(J1)
Played around with it enough that I got it finally!
=SUM(ARRAYFORMULA(if(C8:C="Yes",E8:E-D8:D,0)))
Thanks for helping me troubleshoot and think it through!

The data in my Google Sheet is not appearing in the correct cell

I am trying to create a spreadsheet to simplify our account returns. I am using a variety of named ranges to make life easier. I have created a test sheet which automatically copies the inputted cost to its appropriate category.
I am having a strange issue where the cell I am expecting to see the data in is incorrect. I am wondering if the 2 data validation lists I have created could be causing the issue. I had originally copy / pasted from an old sheet but as I wondered if some strange formatting may have been carried over which is causing the issue I have since manually entered all data to remove this as a potential cause.
https://docs.google.com/spreadsheets/d/1KC8FsVNQZfWtey5TvPDxCxvDhRrFVHdsbDJWmZu73wg/edit#gid=0
This is the test sheet in question. The cost for entries Test 9 & Test 10 should be in the Info Books and Stationary sections retrospectively but they are ending up in the wrong places.
I am not a spreadsheet expert so I apologise if I am missing something blatently obvious. A friend advised me to ask on Stackoverflow after many hours lost to this problem.
Thanks in advance for any help you may be able to give.
Use the third parameter in vlookup set to false (or zero)
=IF(VLOOKUP(companyOfPurchase,suppliersAndCategories,2, 0) = typeOfPurchase,totalOfReceipt,"")
and see if that works?

SPSS Frequency Plot Complication

I am having a hard time generating precisely the frequency table I am looking for using SPSS.
The data in question: cases (n = ~800) with categorical variables DX_n (n = 1-15), each containing ICD9 codes, many of which are the same code. I would like to create a frequency table that groups the DX_n variables such that I can view frequency of every diagnosis in this sample of cases.
The next step is to test the hypothesis that the clustering of diagnoses in this sample is different than that of another. If you have any advice as to how to test this, that would be really appreciated as well!
Thanks!
Edit: My attempts:
1) Analyze -> Descriptive Statistics -> Frequencies; then add variables DX_n (1-15) and display frequency charts. The output is frequencies of each ICD9 code per DX_n variable (so 15 tables are generated - I'm hoping to just have one grouped table).
2) I tried adjusting the output format to organize by variable and also to compare variables but neither option gives the output I'm looking for.
I think what you are looking for CTABLES. It can do parallel columns of frequencies, and it includes a column proportions test that can see whether the distributions differ
Thank you, JKP! You set me on exactly the right track. I'm not sure how I overlooked that menu. Just to clarify in case anyone else comes along needing to figure this out:
Group diagnosis variables into a multiple response set using Analyze > Custom Tables > Multiple Response Sets. Code the variables as categories.
http:// i.imgur.com/ipE9suf.png
Create a custom table with your new multiple response set as a row and the subsets to compare as columns. I set summary statistics to compute from rows and added the column n% column (sorted descending).
http:// i.imgur.com/hptIkfh.png
Under test statistics, include a column proportions z-test as JKP suggested.
http:// i.imgur.com/LYI6ZRl.png
Behold, your results:
http:// i.imgur.com/LgkBA8X.png
Thanks again, and best of luck to anyone else who runs across this.
-GCH
p.s. Sorry everyone, I was going to post images but don't have enough reputation points yet. Images detailing the steps in the GUI can be found at the obfuscated links above.

Resources