Forum Discussion
littlevillage
Jul 28, 2022Iron Contributor
How can I combine formula in Data Model
Hi, I am trying to combine data from Data Model into a Pivot Table , I have written some Measures but it hasn't shown the expect result. I have added an image and the link of the Samplefile below ...
- Jul 30, 2022
If build relationships as
your PivotTable gives practically desired result.
The only it's better to use
perc late A:=DIVIDE( [Total late], [Total ontime], BLANK() )
instead of
perc late:=[Total late]/[Total ontime]
As third parameters in DIVIDE you may use whatever you want instead of BLANK().
Another point we have blank for hub areas, that means not all areas appears in Table1 and Table2 are in Table3. But that's better to adjust Table3.
Please check in attached file.
Harun24HR
Jul 28, 2022Bronze Contributor
In you sample file "HUB are" 239F01 has 80 time in column B (Late Area). So, why your expected result is 72 for this 239F01 hub area?
littlevillage
Jul 28, 2022Iron Contributor
because the pivot table counts with criteria in column C,