The tablix ‘Tablix18’ has a detail member with inner members - visual-studio-2010

I wanna create rdlc Report with many table but the error is
""The tablix ‘Tablix18’ has a detail member with inner members. Detail members can only contain static inner members.
The tablix ‘Tablix17’ has a detail member with inner members. Detail members can only contain static inner members.""
How can I do to get Report?

Related

Why I can't able to create outer join in bulk delete job? even for views which is not listing on bulk delete

I tried to create a view in powerapps table to perform bulk delete action on it. The view that defines outer join like,
I want to get the table Order values which should not be present in the Invoice table, but it should have a relation with the table Invoice (which means the record should be present in table Order but not in table Invoice).
For this, I had the option to create a view by applying the above condition was,
And the above condition is working fine and results were expected. But the problem is when i added the above condition for creating a particular view ( XYZ view) which is not listing on Bulk delete wizard for that entity( here the entity is order).
To overcome this issue what i can do?

BIRT List of Values parameter query

I have a large detail table for which one column is a foreign key to a list of values/lookup table.
The BIRT report is on the detail table.
I want to select rows from the detail table given a user-selected value from the foreign key table.
Detail:
select id, o.owner_name, ....
from detail as d
inner join
owner as o
on (d.owner_id = o.owner_id)
where d.owner_id = ?
Foreign Key/LOV/Lookup table
select owner_id, owner_name
from owner;
So, on report execution, the user is presented with a pulldown menu populated with the owner_id/owner_name values from the owner table. The user selects the required owner_name whose owner_id value is then provided to the detail where clause parameter.
Is this possible?
I didn't see it after quite a bit of time looking, but in the end RTFM got me there.
Create two data sets, one for the detail the other for the lookup;
In report's parameters, see "Selection list values"/Dynamic

joining tables with specialization-generalization relationship in oracle

I am trying to do a join with two tables. One is a supertype and one is a subtype. I am also trying to join it with another table and that works but the joining of the supertype and subtype is not. It says I have invalid identifier but he same id is in both so I am extremely confused why it's not working.
enter image description here
I included my code below and the attachment shows my tables. I have a table I am pulling first name and last name from and my other code is pulling from the supertype and subtype table.
SELECT first_name, last_name, gift_card_id, value_of_card
FROM gift_card
JOIN subject ON gift_card.subject_id = subject.subject_id
JOIN gift_card ON visa_gift_card.gift_card_id = gift_card.gift_card_id
GROUP BY gift_card.gift_Card_id
HAVING visa_gift_card.gift_card_id = gift_card.gift_card_id;
This is probably because you don't have first_name or last_name in any of your tables. Is there another table you should be joining on?
Also, I don't think group by/having is what you want, since you have no aggregate functions like sum in your select list.

OBIEE Admin Tool - parent-child hiearchy not working properly

I followed official documentation while creating Parent/Child hierarchy in OBIEE Admin tool ...
I already have working EMP_MANAGER mapping table with structure (ancestor_id, member_id, distance, is_leaf)
I have employee (sales rep), parent_child (sales rep parent child), position (sales rep position) tables ... together with Sales_data (revenue) table
I connected them as it was in documentation (Physical layer)
Sales_data (inner join)-> Parent_child (inner join)-> Employee (inner)-> Position
Then I dragged Sales_data and Employee into Business Model with the connection
Sales_data (left outer join)-> Employee
Same as it was in docs (I've just changed inner join to left outer join)
If I, in OBI Answers, drag the hierarchy in compound layer - I can drill down to the leaf w/o any problem ... works perfectly
But when I try to add, for example, number of active contracts ... It will change to PIVOT TABLE with no results (all I can do is undo last action)
If I don't drill down and let there only the TOP employees I will get the table but with NULL in "Active contracts" .. instead of SUM for all subordinates for the particular employees
Do you know where could be the problem?

how to hide an external table when there is no data in internal table in BIRT?

I have two tables one inside the other. When there are no detail rows in the inner table i am making it invisible. but i am not able to make the external table invisible.
In detail My inner table heading row and footer is visible even when there are no detail rows so i made the table visibility to true when no detail rows. But i am not able to make the external table invisible with the same logic. it is because even though the inner table is invisible the detail and footer is there so when i say no detail rows no visibility it is not working. so how can i hide the external table when the internal table is invisible?
I would try Binding the data set to the external table and making an aggregation that counts the number of rows in the data set.
Click on the Table
go to Binding in the Property Editor
click Add Aggregation
I called the Column Binding Name RowCount and set the Function to COUNT. Set the Expression to one of the columns from your dataset that you have included in the binding. In my case, I set Expression to row["columnname"].
Click on your table.
go to Visibility in the Property Editor.
check Hide Element and set the Expression to:
row["RowCount"]==0 || row["RowCount"]==null
The element will only display when the RowCount aggregation counts more than 1 row in your dataset.
My solution for this was to create a function that counts the records that meet the desired criterion, in my case select count(*) from my_table where user_id = id.
Then I inserted this function as a detail component that gets the count based on the selected table record.
Then I used the result of the count as a visibility rule. count > 0. this way I can hide the tables that return empty.
Using this trick is possible to hide the secondary table but the count details component will be still there, if you want to hide it you have to put it in a flexbox component. then in the visibility rules you an access you flexbox component and include the rule count > 0

Resources