create complex table header in tableau sheet - tableau-api

As you can see (below) I have LastYear, CurrentYear, %YOY (calculated) for NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained), so totally 9 measures in the source (different names of course). So question is how to add NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained) text for related measures (LastYear, CurrentYear, %YOY (calculated))?

You can achieve by creating headers in one sheet and data in other sheet and then in dashboard combining both sheets.
I have made changes and attached the book in same link.

Related

How to display two columns vertically below each other in ag-grid?

Similar to how the Devexpress property TcxGridBandedColumnPosition.RowIndex works in DataGrid
Example from devexpress:
https://docs.devexpress.com/VCL/171164/ExpressQuantumGrid/task-based-help/banded-table-view
In the example, we have a band "Issue Info" and two columns located one below the other
As far as I understand there is only one way and that is to write custom renders if it possible with current API.

Display dynamic information in PowerView Report Title

I've a little problem,
I've to display the refreshing date in the report title to be "My report title refreshed : Curent date for exemple" I think that the title is a statical object but our client needs this information.
Thanks for your help.
I was having the same problem. This is what I did.
Add a new sheet
In A1 add a Header (I called mine Title)
In A2 Add a formula that will display the title you want (I used this since I needed a dynamic title for the month ="This is for Month " & text(today(), "MMM")
Add this table to the data model
Add the Title field to the slide
I changed mine to a card and move to the title area.
Hope this gives you some thoughts on solving your issue
I have a problem with PowerView in Excel 2016. I have some data where the current week is important to some cells' formulas. I wanted to display my data in a better way so I used powerview, the thing is that Excel itself doesnt allow for table headers with formulas, so I took them out and made them static.
I added the formulas outside the headers so the rest of my data can still pull info from them.
The thing is, using 'Week1'...'Week5' can be confusing for my users since they work with weeks a lot, so they might think my report is from January/February of this year.
A workaround is adding labels with the correct weeks outside the charts, but I was wondering if there is a way to tie them to the cells where the week is updated so they can be updated in powerview, mainly vba through a macro.

Crystal Report with multiple datasources

I am working on a crystal report like in the sample image. it has some limited attributes and some attributes that will be repeated. like item id will be repeated for each item and invoice id will be only one in the whole invoice. I am trying to use two different tables one for repeating elements and one for single time elements.
I am facing problem in setting the datasource of the crystal report. how can I set it so that it may fetch data for repeated elements from datatable one and other from datatable two.
Or if you know any other approach for such problem please share.
Problem Solved.
We can use as many datasources as we want. We just need to add them through database expert options.
besides while giving it actual data we can do that like this:
objRpt.Database.Tables[0].SetDataSource(list_of_objects_of_data_sources);
objRpt.Database.Tables[1].SetDataSource(list_of_objects_of_data_sources2);
this also shows that we can provide data to crystal report through list of obects instead of datatables. we just need to set the references in the database expert as those class objects.
like in the figure

To add data table with Crystal charts

i am using Crystal 2008 and Would like to add data table just underneath attached to a Chart. This can be done very easily in Excel. Don't know how to do it in Crystal
please advise....much appreciated
The way your question is worded I'm not clear if you mean under as in "behind" or "below". It would help if you include a mockup drawing of what you're trying to accomplish.
If you mean "behind", the feature you're looking for is Section Underlay. This video gives a small demo of the feature to put a watermark image behind the report, but you can do the same thing with a chart, crosstab, or other object. The "World Sales Report" sample report has another example of this feature to put a table beside the chart.
If you mean "below", you can either just add sections and put your data fields there, or if that's not the type of table you're looking for, you may want to use a Crosstab object.

Creating a table in Crystal Reports Basic (one built in vs2008)?

Is it possible to create a table with this crystal reports, because I need to layout or format my data into a table(not cross tab), is there a way to do this cause I think my tool box is only limited to lines and boxes and basic shapes.
There's a few things you can do to make it look like a table:
Create Each row in your report represents a row in the table.
Put a border/box around the table use the 'Insert Box' from the toolbar and simple start drawing the box in the header of the (or group header) and finish in the footer (or group footer) and when you preview the report you'll see a box around the whole table [report]
Column grid lines can easily be done by linking the top and bottom of your box. they will then expand out in preview mode.
Top Tip: Zooming right in, to say 300%, makes getting the joins much easier, and investigate snap-to-grid you may want to simple disable it it may actually make life easier,(when ultimate precision is required)
If you need to display the data as a table, you can get creative with details, groups, subsections, and formulae. For example, the formula sum({A},{B}) adds all the values of {A} for each group {B} (best used in a group footer). If you have any specific questions, I can try to answer them.
Sorry, but Crystal reports can not create tables. It can execute a stored procedure that creates tables, but that's really the procedure creating the tables.