Report with Mondrian cube not yielding results - jasper-reports

I am bit new to iReport and JasperReports. I have a mondrain cube and want generate reports from olap cube. In this direction I tried few things. I connected my OLAP cube's schema as datasource . created new report and passed mdx to it. But I am not getting any output. Please guide me on how to do this thing .

Related

how to create table to hold measures in SSAS tabular cube

I want to create an empty table in a SSAS tabular cube (in SSDT, in Visual Studio) to hold all of my cube's measures. In Power BI Desktop, I would do so by creating a 1-column "empty" table in Power Query, loading it into the model, put 1 measure on it, go back into Power Query, delete the empty column, re-load the model, and continue putting measures on the table. But, I don't see an option to do this in SSDT (in Visual Studio) without using a calculated table. Is this possible? If so, how?
You don't want to do that. If the table has no columns, you won't be able to see the measures in Visual Studio:
I would create a one column table using the DAX formula ={""} and hide the column in the model and not worry about it.
If you want to name the column and have no rows, you can use this more obscure formula:
=TOPN(0, ROW("Column", ""))
Picking up (and perhaps simplifying) TheRizza's excellent idea - for which thanks - I used this:
You can obviously (I presume) create as many columns as you like. I tried putting a measure in the second column, then removing this from the table calculation formula, and SSAS moves the measure back into the first column (so you don't lose it).

How to refresh metadata of existing table in ssas tabular cube

I have build one SSAS tabular cube and today new columns are added to Fact table of my cube. How to refresh metadata and get those columns in the cube step by step.

How to Browse MS Olap cube in Excel NOT using Pivot Table

Suppose you have a 2 dimensions cube (Units Sold) in MS Olap. Dim 1 is Product and Dim 2 is Country. In the 'Units sold' MS olap cube the cell having the coordinate ('Car', 'France') have a value (says '123').
If I set up a Pivot Table in Excel, the cell with reference ('Car', France') may show a complete different number (depending of the filters ... of course). Is there a way to have still the right number ('123') : the ideal is to have both : the filtered and the one ('123') from MS Olap.
Think 'Hide' (discrete items) instead of 'Filter' when you tick/untick items in a filter.
What you're trying to do is use one measure to do two things at the same time. Which you can't do straight off the bat. However, there are workarounds.
These are all local to Excel only (not server side) as I'm assuming it's only for you. First solution is obvious, second is better, third and fourth use an extension (fourth is my preferred method as it avoids horrendous MDX code).
1. Second Pivot Table
Create a second pivot table. First pivot table filtered by Product, Country and second pivot table by other criteria AND Product, Country. You can link the pivot tables with a slicer to choose different values for Product, Country.
2. CUBE formulas in Excel sheet cells
You don't actually need to use pivot tables to access cubes (depending on the implementation).
=CUBEVALUE("Sales","[Measures].[Profit]","[Time].[2004]","[All Product].[Beverages]")`
These CUBEVALUE formulae are based off the MDX code that goes into the Microsoft Analysis Server implementation. It goes like this:
=CUBEVALUE("CUBE NAME","[Measure Group].[Measure]","[Dimension].[Attribute]","[Dimension].[Attribute]")
You can add in whatever dimensions/attributes you want then.
3. Use the OLAP PivotTable Extension.
This allows you to create your own custom measure for individual pivot tables. Once again, using MDX. I believe you can do a similar thing like with the Cubevalue formulas - i.e. add in whatever dimensions/attributes you want on top of whatever will be filtered.
https://olappivottableextend.codeplex.com/
4. DAX Studio
DAX is the query language that powers PowerPivot. DAX studio allows you to connect to PowerPivot models and run queries - similar to SQL but just using a different language..
DAX studio allows you to connect to OLAP Cubes too. So you can perform queries against a Cube, then export it as a txt file, linked table in excel etc.
https://daxstudio.codeplex.com/
If what you'll be doing is basic, you could probably get away with 1 or 2.
However, I do highly suggest you take a look at the OLAP PivotTable Extension anyway. It has a feature which allows you to paste a list of values to filter by - instead of having to manually tick them all.
Saved me hours of woe!

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.

ireport issues working with mondrian cube

I am quiet new to ireport . Thing is I am using Ireport 5.1 to generate reports from my mondrian olap cube . I successfully established connection with my olap schema and data source . After that I created a new report and wrote following mdx query :
SELECT
NON EMPTY {Hierarchize({[Ho].[Ho].Members})} ON COLUMNS,
NON EMPTY {[Measures].[count]} ON ROWS
FROM [xyz]
It shows 3 records read when I click on preview data . But problem is it is not showing any fields nor any data is previewed . Moreover I am not getting any error .Please guide me on how to proceed further with this .