Forum Discussion
unnijoy
Post Prodigy
8 years agoFormula Help
Month Country Site Program Name HC Jan-18 US Greenville Running 464 Jan-18 US Greenville Running 464 Jan-18 US Greenville Running 464 Jan-18 US Greenville Running 4...
- 8 years ago
Please try this MEASURE
MeasureF = VAR temp = CALCULATETABLE ( DISTINCT ( Table1[HC] ), ALL ( Table1[Mode] ) ) RETURN SUMX ( temp, [HC] )
unnijoy
Post Prodigy
8 years agoHi Thanks for the Prompt reply. A small change in the Table.
| Month | Country | Site | Program Name | Mode | HC |
| Jan-18 | US | Greenville | Running | Online | 464 |
| Jan-18 | US | Greenville | Running | ILT | 464 |
| Jan-18 | US | Greenville | Running | Online | 464 |
| Jan-18 | US | Greenville | Running | ILT | 464 |
| Jan-18 | US | Greenville | Running | Online | 464 |
| Jan-18 | US | Greenville | Running | ILT | 464 |
| Jan-18 | US | Daleville | Running | Online | 696 |
| Jan-18 | US | Daleville | Running | ILT | 696 |
| Jan-18 | US | Daleville | Running | Online | 696 |
| Feb-18 | US | Greenville | Running | ILT | 424 |
| Feb-18 | US | Greenville | Running | Online | 424 |
| Feb-18 | US | Greenville | Running | ILT | 424 |
| Feb-18 | US | Daleville | Running | Online | 400 |
| Feb-18 | US | Daleville | Running | ILT | 400 |
| Feb-18 | US | Daleville | Running | Online | 400 |
| Feb-18 | US | Greenville | Running | ILT | 424 |
In the Table we can see Mode. So the HC should be calculated irrespective of Mode.
By the formula that u gave the system will calculate the HC seperately for each mode. our Formula should not be based on mode.
Zubair_Muhammad
Community Champion
8 years ago- unnijoy8 years ago
Post Prodigy
In that output table we have to include Mode also. We have once for field come in this table. For that we got the formula. Can you please help me to get the data in the below format.
Month country Mode HC Jan-18 US ILT 1160 Jan-18 US Online 1160 Feb-18 US ILT 824 Feb-18 US Online 824 - Zubair_Muhammad8 years ago
Community Champion
- unnijoy8 years ago
Post Prodigy
I am getting it seperately. Like for December HC filters based on Online and ILT. In the top I have 4 slicers. Month, country, Program name,Mode. Is the mismatch because of this.