Forum Discussion
Filter Data
- 8 years ago
Hi JAVED,
You can create a calculated column below:
Column = IF('Table1'[Products]="p1"|| 'Table1'[Products]="p2"||'Table1'[Products]="a4"||'Table1'[Products]="q2"||'Table1'[Products]="s1"||'Table1'[Products]="c3",'Table1'[cost],0)
Best Regards,
Qiuyun Yu
sry it should display only p1,p2,a4,q2,s1,c3 values
Hi JAVED,
You can create a calculated column below:
Column = IF('Table1'[Products]="p1"|| 'Table1'[Products]="p2"||'Table1'[Products]="a4"||'Table1'[Products]="q2"||'Table1'[Products]="s1"||'Table1'[Products]="c3",'Table1'[cost],0)
Best Regards,
Qiuyun Yu
- JAVED8 years agoHelper I
Thanks a lot v-qiuyu-msft
- JAVED8 years agoHelper I
Can we display last 6 months data in graph even.even thought there is no data for 3 months
Example i need to diaplay last 6 months data when i write a query it is dispalying data from today to feb-23-2018, But in my data base i don't have may,June,July,Agust data,in the bar graph it is shown only feb ,Mar,apr in bar graph. But i need to display may,june,july names also even it is empty.
- v-qiuyu-msft8 years agoCommunity Support
Hi JAVED,
This is a different issue from the original one. I would suggest you post a new thread in Power BI desktop forum with some dummy data and clarify corresponding desired results.
Best Regards,
Qiuyun Yu- JAVED8 years agoHelper I
Thank you v-qiuyu-msft