Forum Discussion
slicer on report does not refresh calculated table
- 8 years ago
Yeh, calculated tables, as in Modeling/New Table/Type stuff in dax, is a "static" table. It will not respond to filters.
The error you mentined is not relevant in terms of the solution but, it is just telling you that niether of the two columns you are trying to join on has unique (non-repeated) values.
The solution, if you want your table to respond to filters, is to include the Calculate Table function in the target Measures.
Hi Jaya ,
As this is throwing error you cant create relationship because one of the columns must be unique values
Solution ;
1) Go to edit queries
2) Select your first table and select append queries (Home tab right corner) then choose your second table
3) Select the join column from both the tables and remove all columns(Make sure your join column name is same n both tables)
4) Then remove duplicates from (Home --> Remove Rows---> Remove duplicates)
Use this table to join with your two tables use this column in report and drag remaining columns from the tables.(Use newly creted tabel column in slicer too.
Plesae mark as solution if this works for you !!!!!!!!!!!!!!!!!!!
Thank you :smileyhappy:
- Jaya8 years agoFrequent Visitor
Hi BalaVenuGopal,
Thank you so much for looking into it. I do not see my calculated table under the edit queries screen because I created the table using DAX. Is there anyway this could be achieved using DAX.
Thanks again!
- BalaVenuGopal8 years ago
Resolver I
Hi Jaya,
Could you pls expain why did u create calculated table and give me table informaton along with your exact requirement
thanks
- Jaya8 years agoFrequent Visitor
I have the source table with a student start date and end date. I need to calculate how many days the student was present each month. So I created calculated columns for each student each month in the source table. Then I wanted to do a line graph that shows totals by month. But since the months are individual columns within the table I couldn't build a line graph. So I created a calculated table that computes the totals for each month.
Calculated table has monthname, totaldays in that month, program
But now am unable to filter the line graph so it filters by program.
Hope I did it right! Thanks.