Forum Discussion
How to filter only specific column in table
- 5 years ago
Hi, Anonymous
Sorry that I did not clearly understand from the first time.
I hope this time I understood correctly.
The new link is down below.
Hour by Date V2 =CALCULATE (SUMX (Query1,Query1[Hours]),FILTER (Query1,SELECTEDVALUE ( 'Table'[ClientId] ) = Query1[ClientId]))Cost by Date V2 =CALCULATE (SUMX (Query1,Query1[CostValue]),FILTER (Query1,SELECTEDVALUE ( 'Table'[ClientId] ) = Query1[ClientId]))
Hello, thank you so much.
I know about the interaction for particular chart. Please look into the second table,
I want to generate Hour By Date and Cost By Date from the the first table. And when I filter createdate, only 2 columns will be affected by filter.
Hi, Anonymous
Thank you for your feedback.
Sorry to say that I quite do not understand how to calculate "Hour By Date" and "Cost By Date".
So, I assumed that those were Average Hours by Date and Average Cost by Date.
Based on my assumption, I created two calculated measures like below.
And, the link to my pbix file is down below.
Did I answer your question? Mark my post as a solution!
https://www.dropbox.com/s/a8tqcs42nvemjf4/johncat%202021%200322.pbix?dl=0
- Anonymous5 years agoNot applicable
Hello,
yah thank you so much,
Hour by Date, just show the cost in the date of range
I mean.
I want to show Hour for all of time, and Hour by date => hour by specified date( slicer). But just when select slicer , only 2 columns has been refreshed, total value is not allowed to refreshed.- Jihwan_Kim5 years agoSuper User
Hi, Anonymous
Sorry that I did not clearly understand from the first time.
I hope this time I understood correctly.
The new link is down below.
Hour by Date V2 =CALCULATE (SUMX (Query1,Query1[Hours]),FILTER (Query1,SELECTEDVALUE ( 'Table'[ClientId] ) = Query1[ClientId]))Cost by Date V2 =CALCULATE (SUMX (Query1,Query1[CostValue]),FILTER (Query1,SELECTEDVALUE ( 'Table'[ClientId] ) = Query1[ClientId]))- Anonymous5 years agoNot applicable
Thank you for your help, really helpful for me. But, when for I drag a slicer with no value, the second table is empty. How can I keep the current value except 2 measures
can you download the file, I group by one more column.
https://drive.google.com/file/d/1X8oNoKc_fq_lpFkHeD4uxf-aZCS3zRki/view?usp=sharingThank you so much. Have a good day ahead