My query is apparently correct and I should get outputs given the fact that the data output board shows the column and the number of values per column, but it doesn't display the values.
Any help is welcome, looking forward to solving this, thank you!
A screenshot for clarity:
try to use explain (shift+f7) button to see how many rows ur query match
Related
so, I have this data in the tibble displayed in the R-document. The first rows are shown fine the image of the first rows in the R-document, but the last are not shown (its just empty tibble, which has the data, but these cannot be seen cause I like can copy some of them) the image of the last rows in the R-document. The same thing is happening if the data were in the dataframe. Does anyone know how to overcome this issue, so in the R-document, one can see all the data clearly? Thanks in advance.
I can look at the data with View(), no problem, but it is not the way I want the reader to see the data as it's like a different window and not in the R-Document. I expect these last rows be either non-present or show the actual data.
ok, never mind. I just found a temporary and the best-at-the-moment solution, which is to use the function print.data.frame(). Though, it has not a good view like when you do it using the print() function, but it prints all the data (first rows) (last rows).
I have a large sample of medical data I need to try and analyze patterns in Excel worksheet.
I also put them up in a database in MS ACCESS to do my first filters and stuff.
I have the infos of patients, with tests results(POS or NEG), dates of the sample.
I need to be able to check for each patients when the results change from POS to NEG and from NEG to POS
and compare the dates of those two samples.
So far I was doing it manually which isn't viable for my sample.
I was trying to do something in SQL, but that didn't work out for me.
I also am trying to do some VBA or Excel formulas but I admit I'm getting kind of stumped.
I know I should do some for each cell loop or something but I really am lost.
I already grouped each patients info together using sub-totals and stuff.
Your help or at least pointers would be greatly appreciated :D
Here's an example of my data.
enter image description here
Use a formula like this, that in case the name is the same as the row before and the POS/NEG is different from the row before gives you the number of days in between, blank otherwise:
Of course it will give you an error if you try to use it on the 1st line, just enter it in the 2nd line and copy/paste in all the rest.
This should give you the basis for the rest of your analysis.
This is a cross-post from the PowerBI forum:
I'm new to Power Query (Desktop) having previously only used it within Excel.
I have an SQL query source that returns the following data when viewed in the Power Query Editor:
yet in my report I get the following values for the Cabinet_DocID and Editor_ID:
I'm at a loss to explain what has happened to the values highlighted in red above. Why are they displaying as either 1 or two?
The only difference I can see in the source data between the columns that are correct/incorrect is that the values which were changed are numbers not text.
I feel like I am missing something stupid, but can't figure out what it is.
Any help greatly appreciated.
Thanks,
Alex.
PS. It seems like this response to the same problem might answer my question but I haven't done anything to either of these columns so I'm confused AF right now.
Okay, so it seems the numbers appearing were as a result of the values being numerical.
My initial attempt at changing the format to text lead to frustration because I didn't realise that the report doesn't automatically update the displayed format of any data displayed until you deselect and re-select all the columns.
This seems like a flaw to me, but I guess it's working as designed..?
anybody knows how to find top/bottom 10 entries from each category? I found a partial solution for my problem from this StackExchange question , and it works great, except that it only shows the TOP values, not the BOTTOM values.
Anyone can tell me how to do the same for bottom values? I know it requires me to change some of the syntax, but I tried for hours but didn't find any.
Any help is greatly appreciated.
Thanks!
If your data is in excel's table try the following:
Create a Rank Column which will rank each value through your category
=COUNTIFS([Category],[#Category],[value],">"&[#value])+1
Create another column which calculates max value for the category, it is an array formula so, hit ctrl+shift+enter to execute it:
=MAX(IF([Category]=[#Category],[RANK]))
Create third column to decide top and bottom values based on previous 2 columns, in my example the column is either 1 or 0 to indicate relevant rows:
=IF([Category]=[#Category],IF(OR([#RANK]<=10,[#RANK]>=[#Мах]-10),1,0))
You'll end up with something like that:
Hope that helped
Let me explain my problem,
in Pentaho Report Designer I want to build such a report, where I have one data set, i.e. one request to database
SELECT code, name FROM EMPLOYEES
and show result of this request not in the form of list, but put every result in appropriate place. i.e. like in below picture
Where field "code" is unique, just one result can be put into red label in picture.
How can I do this in Pentaho Report Designer?
I can solve this problem by creating 3 data set, for each of caption. But what if captions like this will be much more, creating requests for each of this caption will not be so effective.
Hope I could explain my question.
I don't know if I got it right, but If you want to use the values returned by your query, you could create a new formula called "your_formula":
=MULTIVALUEQUERY("name_of_your_query")
This will give you an array with the result of the query. Then you could use another formula to get the 1st result of the array. For example:
=ARRAYLEFT([your_formula])
and get the first result of your query. This way let you use your_formula as parameter. This means you can drag and drop it on your report and use it.
I hope it helps.
Regards,
Tatan.