Forum Discussion
kalif
Helper I
7 years agoHow to create measure count the Con_num while selected Month
Find below table & below measure using Average & Count, But While select the Month in Filter below measure is not refreshed AVERAGE = SUM(VDASUM1[VDA AMOUNT]) / COUNT(VDASUM1[AID_CON_NUM]) an...
- 7 years ago
Hi kalif
When i test with your dataset, i can make the month slicer work for my measure.
1. add "month" in the slicer
2. create a calendar date table and connect it to your table, then add year and month from the calendar date table to the slicer,
Measures
sum = SUM(Sheet2[VDA AMOUNT]) count = COUNT(Sheet2[CON_NUM]) average = [sum]/[count] average2 = AVERAGE(Sheet2[VDA AMOUNT])
If you have any problem please let me know
Best Regards
Maggie
Greg_Deckler
Community Champion
7 years agoWhy not just use:
AVERAGE = AVERAGE(Table9[VDA AMOUNT])
See attached PBIX and you want Table9, Page 4
kalif
Helper I
7 years agoThanks Mr. Greg_Deckler, Below measure working fine, but am using Table SUMMARIZE from another table, filers set from mother table, find below for mother Table format
| MONTH | GROUP | CHG_CODE | VDA AMOUNT | BKG_NUM | CON_NUM | VDA NUM |
| November-18 | CCU | WASH | 9.75 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | SUR | 9.75 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | SOR | 0 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | LAS | 0.05 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | ISPS | 3.25 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | ICOM | -10 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | FRT | 300 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
| November-18 | CCU | EQP | 26 | SHLPK18001152 | AMFU3221483 | AGIN1819000129HQ |
How can get measure for this case