Power BI with date/time format - business-intelligence

I am very to the Power BI and I am learning it by myself. I have just sign up free power BI account. For learning purpose I took data of "Case Data
from San Francisco" I exported those data in xlxs format and imported into the Power BI.As per the suggestion of Power BI, I just defined the Excel data to table by pressing
ctrl + T.Now the problem likeI cannot make any chart by status (i.e. open or close)I cannot make any chart by date on the basis of close date or open dateMany more things. Now my question is do I am missing something? Do I have do something with excel file before importing it?Sorry I am asking lot of questions. I am just new learner.

There are plenty of resources for getting you starte. Here's a good starting point:
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-getting-started/

Related

Filetype error in older version of Power Query

I've made a report in pivot table in Excel 365 file by using the Power Query script, whose acquires data data form .xmlx file (previously exported from D365) by a path imported by VBA macro to named cell ("filePath").
The Power Query code starts like that:
let
Ścieżka = Excel.CurrentWorkbook(){[Name="filePath"]}[Content]{0}[Column1],
Źródło = Excel.Workbook(File.Contents(#"Ścieżka"), null, true),
AxTable1_Table = Źródło{[Item="AxTable1",Kind="Table"]}[Data],
...
Next i have some filtering and column manipulaion. I cannot share file in cause of using the business data of standard production costs lines.
The problem is that despite perfect working on PCs with Office 365, there is no way to propery runn this file on a Excell 2016. What i get is a popup window with text by second step in executing the let lines:
[DataFormat.Error] The input couldn't be recognized as a valid Excel document.
Is there a differences in loading files between these two releases of Power Query and some guidelines to ensure the enquiry working on both?
Step by step, I excluded errors with the VBA macro. I checked the file operation on four different computers (2x D365, 2x Office 2016) with the same source data. The error is reproducible in the same software version.
I need to find a way to ensure data retrieval compatibility in different versions of Power Query.

Format the M language in Power Bi Query

Do anyone know how to format the Power Bi back-end query, I did not find any thing only.
Like for JSON we have json formater online.
Can not we do the same, for DAX and M- Language wanted to format the query so that i can read properly.
There is https://powerqueryformatter.com/ - it is helping me format Power Query M language
For DAX, you can use https://www.daxformatter.com/ - provided by the SQLBI team.
Until now, i was able to see few option in Power BI advance editor, that is helping me a bit not 100% formatted code.
Best suggestion would be is to use text editor like sublime and do format your query on building stage, that would give you more clarification if you are working on the Power Bi side. Thanks you.
If someone knows, how to do this query format start to end the whole query, please let me know.

Interactive Grid- Automatic Row Processing (DML) : Character limitation in Code editor

I have a requirement where 300 columns had to be processed. I am trying to achieve this using IG automatic row processing (DML). When writing the code in the editor I get a error stating 'Value too long by 2015 characters'.
I suppose this is an Oracle Apex limitation. Can someone please share their views on this?
When writing the code in the editor ...
I'd say that your problem isn't related to number of columns, but a large query which can't fit into "SQL Query" item of the Page Designer.
Which Apex version do you use? I can't tell for sure (as I don't know it), but my impression is that Apex up to version 4.2 had that item limited to VARCHAR2(4000) so - if your query is larger than that, it won't fit (such as in your case - query you wrote is 2015 characters longer than the maximum size the item allows). In 5.x version, you can put a whole lot of query into the item (as if it was modified to a CLOB).
Now, as you use Interactive Grid and it appeared in 5.x version, huh ... maybe what I wrote above isn't entirely true. Unfortunately, you can't switch to a query whose source is a function that returns query (such as in Classic Reports), as you could write a (stored) function and simply call it from Apex.
As you said that you used automatic row processing, did you put too much code somewhere in there?
On the other hand, I Googled a little bit, looking for limit of column numbers in the IG - couldn't find anything official, but someone complained (here, on StackOveflow) that they tried to create an IG with over 100 columns, and it didn't work.
So, yes - maybe you hit the limit, but I can't confirm it. Hopefully, someone who knows Apex better will be able to assist. Alternatively, consider asking the same question on OTN forums, as people who designed Apex answer questions there.

Automate word with applescript

I am new to Applescript. I want to automate word but don’t know how. Your help will be deeply appreciated. I have a word document which is a parent letter. I have an excel document with two columns that contain the parent’s name and price for school bus fee. What I want to do are:
Replace the parent name in word document using the data in column A of the excel file
Replace the bus fee in the word document using the data in column B of the excel file
Generate a word document
Print it via the default printer on my Mac.
Repeat the steps above until the end of the excel
I am not sure if I’ve explained clearly what I want. If I have 30 rows of data in excel, I will get 30 word documents printed out after running the script.
Thanks again,
Yu SUN from China
Michael, I think it would be much easier to use the form letter and mail merge capabilities built into Microsoft Office. You may want to do some searching on your own, but here's an example tutorial from Microsoft for Office 2011:
http://download.microsoft.com/download/A/7/F/A7F9018D-3B23-4EDA-A554-A128C74C366C/Word%20tutorial%20-%20Use%20Mail%20Merge%20to%20create%20a%20form%20letter.pdf
If you search help for "mail merge" in Office 2016 you'll get some detailed steps, too.

SSAS 2008 Dimension Wizard and the Date Template

Does anyone know how to use the Date Template with the BIDS 2008, SSAS Project, Dimension Wizard? I keep getting an error - rightly so, I suppose - "Dimension not generated because it is bound to a time binding" (after having selected Generate a non-time table in the data source, in order to get to the Date template).
I am trying to do this as there is no Time dimension table in my data source.
Furthermore, I need time periods of HourOFDay, MinuteOfHour, and MinuteOfDay, which are not there if I go down the Generate a time table in the data source route.
In the meantime, I will go create the Time table from scratch, but it would be useful to know if I could achieve the same through some clever use of the Dimension Wizard.
Thank you,
Oana
Check out the solution here.
http://www.bronios.com/index.php/2010/04/01/error-the-time-dimension-was-not-generated-because-it-is-bound-to-a-time-binding/

Resources