Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Multiplication data issue

Hi Everyone,

I am using below measure to get value but value not matching. Could you please help me!

 

Z_BB = [Z_GPH]*[Z_Nominal Speed_Measure]*ai_targets[AI Target]
 
Ai Target % is one tabe and caluclation is
DIVIDE(Merge1[Measure_GPT],Merge1[Measure_OT]) and
remaining coming from other table and i did merge. With merge i have used all kind of joins but not getting expected output
[Z_GPH]=sum(gph)
[Z_Nominal Speed_Measure]=divide(sum(quantity),sum(th)) it is just decimal number
 
Final measure not getting expected output. Could you please help me where it went wrong.
 
Cardinality between the tables is m:m
 
Regards,
Venkat

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Here is some sample data 

Region Sample Data

Resource/PlantDayDateGPHPEHQTYEachTH
WF03/PE740051/17/2021000
WF03/PE740051/18/2021000
WF03/PE740051/19/2021000
WF03/PE740051/20/2021000
WF03/PE740051/21/2021000
WF03/PE740051/22/2021000
WF03/PE740051/23/2021000
WF03/PE740051/24/2021000
WF03/PE740051/25/2021000
WF03/PE740051/26/2021720230400384
WF03/PE740051/27/20211440585600976
WF03/PE740051/28/202114406278401046.4
WF03/PE740051/29/20211140505440842.4
WF03/PE740051/30/202114406308641051.44
WF03/PE740051/31/20211290561600936
WF03/PE740052/1/202112748812.48
WF03/PE740052/2/2021000
WF03/PE740052/3/2021000
WF03/PE740052/4/2021000
WF03/PE740052/5/2021000
WF03/PE740052/6/2021000
WF03/PE740052/7/2021000
WF03/PE740052/8/2021000
WF03/PE740052/9/2021000
WF03/PE740052/10/2021000
WF03/PE740052/11/2021000
WF03/PE740052/12/2021000
WF03/PE740052/13/2021000
WF03/PE740052/14/2021000
WF03/PE740052/15/2021000
WF03/PE740052/16/2021000
WF03/PE740052/17/2021000
WF03/PE740052/18/2021000
WF03/PE740052/19/2021000
WF03/PE740052/20/2021000
WF03/PE740052/21/2021000
WF03/PE740052/22/2021000
WF03/PE740052/23/2021000
WF03/PE740052/24/2021000
WF03/PE740052/25/2021000
WF03/PE740052/26/2021000
WF03/PE740052/27/2021000
WF03/PE740052/28/2021000
WF03/PE740053/1/2021000
WF03/PE740053/2/2021000
WF03/PE740053/3/2021840284544474.24
WF03/PE740053/4/202114406664321110.72
WF03/PE740053/5/2021315842.64
WF03/PE740053/6/2021000
WF03/PE740053/7/2021000
WF03/PE740053/8/2021000
WF03/PE740053/9/2021000
WF03/PE740053/10/2021000
WF03/PE740053/11/2021000
WF03/PE740053/12/20211440393600656
WF03/PE740053/13/202113806266401044.4
WF03/PE740053/14/202114407323601220.6
WF03/PE740053/15/202114407257601209.6
WF03/PE740053/16/202114406873601145.6
WF03/PE740053/17/202114407411201235.2
WF03/PE740053/18/2021000
WF03/PE740053/19/2021000
WF03/PE740053/20/2021000
WF03/PE740053/21/2021000
WF03/PE740053/22/2021000
WF03/PE740053/23/2021000
WF03/PE740053/24/2021000
WF03/PE740053/25/2021000
WF03/PE740053/26/2021000
WF03/PE740053/27/2021000
WF03/PE740053/28/2021000
WF03/PE740053/29/2021000
WF03/PE740053/30/2021000
WF03/PE740053/31/2021000
WF03/PE740054/1/2021000
WF03/PE740054/2/2021000
WF03/PE740054/3/2021000
WF03/PE740054/4/2021000
WF03/PE740054/5/2021000
WF03/PE740054/6/2021000
WF03/PE740054/7/2021000
WF03/PE740054/8/2021000
WF03/PE740054/9/2021000
WF03/PE740054/10/2021000
WF03/PE740054/11/2021000
WF03/PE740054/12/2021000
WF03/PE740054/13/2021000
WF03/PE740054/14/2021000
WF03/PE740054/15/2021000
WF03/PE740054/16/2021720247680412.8
WF03/PE740054/17/20211350541440902.4
WF03/PE740054/18/20211440520320867.2
WF03/PE740054/19/20211440472176786.96
WF03/PE740054/20/202114406700801116.8
WF03/PE740054/21/202114407161601193.6
WF03/PE740054/22/20211380541440902.4
WF03/PE740054/23/20211290322560537.6
WF03/PE740054/24/20211260416224693.7067
WF03/PE740054/25/20211380572160953.6

Ai Targets Sample Data

ResourceDateGPTOT
WF00/IP736011/1/20220.721
WF00/IP736012/1/20220.721
WF00/IP736013/1/20220.721
WF00/IP736014/1/20220.721
WF00/IP736015/1/20220.721
WF00/IP736016/1/20220.721
WF00/IP736017/1/20220.721
WF00/IP736018/1/20220.721
WF00/IP736019/1/20220.721
WF00/IP7360110/1/20220.721
WF00/IP7360111/1/20220.721
WF00/IP7360112/1/20220.721
WF00/IP736011/1/2020424.5739603.6271
WF00/IP736012/1/2020395.1713545.2116
WF00/IP736013/1/2020443.1202603.6271
WF00/IP736014/1/2020510.4574674.0253
WF00/IP736015/1/2020568.6874742.9256
WF00/IP736016/1/2020584.739763.8953
WF00/IP736017/1/2020604.2303789.3585
WF00/IP736018/1/2020597.8024789.3585
WF00/IP736019/1/2020544.4879718.9603
WF00/IP7360110/1/2020521.8009696.4928
WF00/IP7360111/1/2020504.9686674.0253
WF00/IP7360112/1/2020521.8009696.4928
WF00/IP736011/1/2021498.062625.667
WF00/IP736012/1/2021498.062625.667
WF00/IP736013/1/2021498.062625.667
WF00/IP736014/1/2021498.062625.667
WF00/IP736015/1/2021498.062625.667
WF00/IP736016/1/2021498.062625.667
WF00/IP736017/1/2021498.062625.667
WF00/IP736018/1/2021498.062625.667
WF00/IP736019/1/2021498.062625.667
WF00/IP7360110/1/2021498.062625.667
WF00/IP7360111/1/2021498.062625.667
WF00/IP7360112/1/2021498.062625.667
WF00/IP736011/1/2022455.895569.244
WF00/IP736011/2/2022455.895569.244
WF00/IP736011/3/2022455.895569.244
WF00/IP736011/4/2022455.895569.244
WF00/IP736011/5/2022455.895569.244
WF00/IP736011/6/2022455.895569.244
WF00/IP736011/7/2022455.895569.244
WF00/IP736011/8/2022455.895569.244
WF00/IP736011/9/2022455.895569.244
WF00/IP736011/10/2022455.895569.244
WF00/IP736011/11/2022455.895569.244
WF00/IP736021/12/2022455.895569.244
WF00/IP736022/1/2022455.895569.244
WF00/IP736023/1/2022455.895569.244
WF00/IP736024/1/2022455.895569.244
WF00/IP736025/1/2022455.895569.244
WF00/IP736026/1/2022455.895569.244
WF00/IP736027/1/2022455.895569.244
WF00/IP736028/1/2022455.895569.244
WF00/IP736029/1/2022455.895569.244
WF00/IP7360210/1/2022455.895569.244
WF00/IP7360211/1/2022455.895569.244
WF00/IP7360212/1/2022455.895569.244
WF00/IP736021/1/2020733.501944.5704
WF00/IP736022/1/2020313.847455.0188
WF00/IP736023/1/2020353.6447503.7709
WF00/IP736024/1/2020398.6181548.4602
WF00/IP736025/1/2020468.5036629.7136
WF00/IP736026/1/2020559.7107731.2803
WF00/IP736027/1/2020586.8008755.6563
WF00/IP736028/1/2020583.9671755.6563
WF00/IP736029/1/2020558.4017731.2803
WF00/IP7360210/1/2020570.7432755.6563
WF00/IP7360211/1/2020545.6775731.2803
WF00/IP7360212/1/2020562.0338755.6563
WF00/IP736021/1/2021174.358238.116
WF00/IP736022/1/2021174.358238.116
WF00/IP736023/1/2021174.358238.116
WF00/IP736024/1/2021174.358238.116
WF00/IP736025/1/2021174.358238.116
WF00/IP736026/1/2021174.358238.116
WF00/IP736027/1/2021174.358238.116
WF00/IP736028/1/2021174.358238.116
WF00/IP736029/1/2021174.358238.116
WF00/IP7360210/1/2021174.358238.116
WF00/IP7360211/1/2021174.358238.116
WF00/IP7360212/1/2021174.358238.116
WF00/IP736021/1/2022300.748411.338
WF00/IP736021/2/2022300.748411.338
WF00/IP736021/3/2022300.748411.338
WF00/IP736021/4/2022300.748411.338
WF00/IP736021/5/2022300.748411.338
WF00/IP736021/6/2022300.748411.338
WF00/IP736021/7/2022300.748411.338
WF00/IP736021/8/2022300.748411.338
WF00/IP736021/9/2022300.748411.338
WF00/IP736021/10/2022300.748411.338
WF00/IP736021/11/2022300.748411.338
WF00/IP736031/12/2022300.748411.338
WF00/IP736032/1/2022300.748411.338
WF00/IP736033/1/2022300.748411.338
WF00/IP736034/1/2022300.748411.338
WF00/IP736035/1/2022300.748411.338
WF00/IP736036/1/2022300.748411.338
WF00/IP736037/1/2022300.748411.338
WF00/IP736038/1/2022300.748411.338
WF00/IP736039/1/2022300.748411.338
WF00/IP7360310/1/2022300.748411.338
WF00/IP7360311/1/2022300.748411.338

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

I have used custom columns and able to see inlcuding all decimal places and hence issue resolved. there is no issue with my calculation

v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

It is not easy to judge the cause of the problem based on the measure formula alone, and no one can know where there is an easily overlooked detail that causes the problem to occur. 

If possible, please consider sharing more details about it and posting expected result so it is clear on what needs to be implemented.  And It would be great if there is a sample file without any sesentive information here.

 

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , multiplication should be done at row level, if possible. like inside sumx/minx etc or create a new column

 

else push a group by

like

sumx(values(dim[Dim1]), [measure from fact1]*[Measure from fact2] )

 

 

Anonymous
Not applicable

@amitchandak I have tried with your idea but still not working as expected. I have created and tried using both measure and calculated column but no still no luck and even with the measure i breakdown the small pieces but not working. Could you please let me know if you have thoughts or correct me if iam wrong

 

Column 2 = SUMX(V_PBI_DTA_SAM_Daily_Region,SUM(V_PBI_DTA_SAM_Daily_Region[GPH])*(SUM(V_PBI_DTA_SAM_Daily_Region[PEHQTYEach])/SUM(V_PBI_DTA_SAM_Daily_Region[TH]))*SUM(ai_targets[GPT])/SUM(ai_targets[OT]))
 
Regards,
Venkat
Anonymous
Not applicable

any quick suggestion please.

venkatcgn3_2-1647443959798.png

 

 

Anonymous
Not applicable

Here is some sample data 

Region Sample Data

Resource/PlantDayDateGPHPEHQTYEachTH
WF03/PE740051/17/2021000
WF03/PE740051/18/2021000
WF03/PE740051/19/2021000
WF03/PE740051/20/2021000
WF03/PE740051/21/2021000
WF03/PE740051/22/2021000
WF03/PE740051/23/2021000
WF03/PE740051/24/2021000
WF03/PE740051/25/2021000
WF03/PE740051/26/2021720230400384
WF03/PE740051/27/20211440585600976
WF03/PE740051/28/202114406278401046.4
WF03/PE740051/29/20211140505440842.4
WF03/PE740051/30/202114406308641051.44
WF03/PE740051/31/20211290561600936
WF03/PE740052/1/202112748812.48
WF03/PE740052/2/2021000
WF03/PE740052/3/2021000
WF03/PE740052/4/2021000
WF03/PE740052/5/2021000
WF03/PE740052/6/2021000
WF03/PE740052/7/2021000
WF03/PE740052/8/2021000
WF03/PE740052/9/2021000
WF03/PE740052/10/2021000
WF03/PE740052/11/2021000
WF03/PE740052/12/2021000
WF03/PE740052/13/2021000
WF03/PE740052/14/2021000
WF03/PE740052/15/2021000
WF03/PE740052/16/2021000
WF03/PE740052/17/2021000
WF03/PE740052/18/2021000
WF03/PE740052/19/2021000
WF03/PE740052/20/2021000
WF03/PE740052/21/2021000
WF03/PE740052/22/2021000
WF03/PE740052/23/2021000
WF03/PE740052/24/2021000
WF03/PE740052/25/2021000
WF03/PE740052/26/2021000
WF03/PE740052/27/2021000
WF03/PE740052/28/2021000
WF03/PE740053/1/2021000
WF03/PE740053/2/2021000
WF03/PE740053/3/2021840284544474.24
WF03/PE740053/4/202114406664321110.72
WF03/PE740053/5/2021315842.64
WF03/PE740053/6/2021000
WF03/PE740053/7/2021000
WF03/PE740053/8/2021000
WF03/PE740053/9/2021000
WF03/PE740053/10/2021000
WF03/PE740053/11/2021000
WF03/PE740053/12/20211440393600656
WF03/PE740053/13/202113806266401044.4
WF03/PE740053/14/202114407323601220.6
WF03/PE740053/15/202114407257601209.6
WF03/PE740053/16/202114406873601145.6
WF03/PE740053/17/202114407411201235.2
WF03/PE740053/18/2021000
WF03/PE740053/19/2021000
WF03/PE740053/20/2021000
WF03/PE740053/21/2021000
WF03/PE740053/22/2021000
WF03/PE740053/23/2021000
WF03/PE740053/24/2021000
WF03/PE740053/25/2021000
WF03/PE740053/26/2021000
WF03/PE740053/27/2021000
WF03/PE740053/28/2021000
WF03/PE740053/29/2021000
WF03/PE740053/30/2021000
WF03/PE740053/31/2021000
WF03/PE740054/1/2021000
WF03/PE740054/2/2021000
WF03/PE740054/3/2021000
WF03/PE740054/4/2021000
WF03/PE740054/5/2021000
WF03/PE740054/6/2021000
WF03/PE740054/7/2021000
WF03/PE740054/8/2021000
WF03/PE740054/9/2021000
WF03/PE740054/10/2021000
WF03/PE740054/11/2021000
WF03/PE740054/12/2021000
WF03/PE740054/13/2021000
WF03/PE740054/14/2021000
WF03/PE740054/15/2021000
WF03/PE740054/16/2021720247680412.8
WF03/PE740054/17/20211350541440902.4
WF03/PE740054/18/20211440520320867.2
WF03/PE740054/19/20211440472176786.96
WF03/PE740054/20/202114406700801116.8
WF03/PE740054/21/202114407161601193.6
WF03/PE740054/22/20211380541440902.4
WF03/PE740054/23/20211290322560537.6
WF03/PE740054/24/20211260416224693.7067
WF03/PE740054/25/20211380572160953.6

Ai Targets Sample Data

ResourceDateGPTOT
WF00/IP736011/1/20220.721
WF00/IP736012/1/20220.721
WF00/IP736013/1/20220.721
WF00/IP736014/1/20220.721
WF00/IP736015/1/20220.721
WF00/IP736016/1/20220.721
WF00/IP736017/1/20220.721
WF00/IP736018/1/20220.721
WF00/IP736019/1/20220.721
WF00/IP7360110/1/20220.721
WF00/IP7360111/1/20220.721
WF00/IP7360112/1/20220.721
WF00/IP736011/1/2020424.5739603.6271
WF00/IP736012/1/2020395.1713545.2116
WF00/IP736013/1/2020443.1202603.6271
WF00/IP736014/1/2020510.4574674.0253
WF00/IP736015/1/2020568.6874742.9256
WF00/IP736016/1/2020584.739763.8953
WF00/IP736017/1/2020604.2303789.3585
WF00/IP736018/1/2020597.8024789.3585
WF00/IP736019/1/2020544.4879718.9603
WF00/IP7360110/1/2020521.8009696.4928
WF00/IP7360111/1/2020504.9686674.0253
WF00/IP7360112/1/2020521.8009696.4928
WF00/IP736011/1/2021498.062625.667
WF00/IP736012/1/2021498.062625.667
WF00/IP736013/1/2021498.062625.667
WF00/IP736014/1/2021498.062625.667
WF00/IP736015/1/2021498.062625.667
WF00/IP736016/1/2021498.062625.667
WF00/IP736017/1/2021498.062625.667
WF00/IP736018/1/2021498.062625.667
WF00/IP736019/1/2021498.062625.667
WF00/IP7360110/1/2021498.062625.667
WF00/IP7360111/1/2021498.062625.667
WF00/IP7360112/1/2021498.062625.667
WF00/IP736011/1/2022455.895569.244
WF00/IP736011/2/2022455.895569.244
WF00/IP736011/3/2022455.895569.244
WF00/IP736011/4/2022455.895569.244
WF00/IP736011/5/2022455.895569.244
WF00/IP736011/6/2022455.895569.244
WF00/IP736011/7/2022455.895569.244
WF00/IP736011/8/2022455.895569.244
WF00/IP736011/9/2022455.895569.244
WF00/IP736011/10/2022455.895569.244
WF00/IP736011/11/2022455.895569.244
WF00/IP736021/12/2022455.895569.244
WF00/IP736022/1/2022455.895569.244
WF00/IP736023/1/2022455.895569.244
WF00/IP736024/1/2022455.895569.244
WF00/IP736025/1/2022455.895569.244
WF00/IP736026/1/2022455.895569.244
WF00/IP736027/1/2022455.895569.244
WF00/IP736028/1/2022455.895569.244
WF00/IP736029/1/2022455.895569.244
WF00/IP7360210/1/2022455.895569.244
WF00/IP7360211/1/2022455.895569.244
WF00/IP7360212/1/2022455.895569.244
WF00/IP736021/1/2020733.501944.5704
WF00/IP736022/1/2020313.847455.0188
WF00/IP736023/1/2020353.6447503.7709
WF00/IP736024/1/2020398.6181548.4602
WF00/IP736025/1/2020468.5036629.7136
WF00/IP736026/1/2020559.7107731.2803
WF00/IP736027/1/2020586.8008755.6563
WF00/IP736028/1/2020583.9671755.6563
WF00/IP736029/1/2020558.4017731.2803
WF00/IP7360210/1/2020570.7432755.6563
WF00/IP7360211/1/2020545.6775731.2803
WF00/IP7360212/1/2020562.0338755.6563
WF00/IP736021/1/2021174.358238.116
WF00/IP736022/1/2021174.358238.116
WF00/IP736023/1/2021174.358238.116
WF00/IP736024/1/2021174.358238.116
WF00/IP736025/1/2021174.358238.116
WF00/IP736026/1/2021174.358238.116
WF00/IP736027/1/2021174.358238.116
WF00/IP736028/1/2021174.358238.116
WF00/IP736029/1/2021174.358238.116
WF00/IP7360210/1/2021174.358238.116
WF00/IP7360211/1/2021174.358238.116
WF00/IP7360212/1/2021174.358238.116
WF00/IP736021/1/2022300.748411.338
WF00/IP736021/2/2022300.748411.338
WF00/IP736021/3/2022300.748411.338
WF00/IP736021/4/2022300.748411.338
WF00/IP736021/5/2022300.748411.338
WF00/IP736021/6/2022300.748411.338
WF00/IP736021/7/2022300.748411.338
WF00/IP736021/8/2022300.748411.338
WF00/IP736021/9/2022300.748411.338
WF00/IP736021/10/2022300.748411.338
WF00/IP736021/11/2022300.748411.338
WF00/IP736031/12/2022300.748411.338
WF00/IP736032/1/2022300.748411.338
WF00/IP736033/1/2022300.748411.338
WF00/IP736034/1/2022300.748411.338
WF00/IP736035/1/2022300.748411.338
WF00/IP736036/1/2022300.748411.338
WF00/IP736037/1/2022300.748411.338
WF00/IP736038/1/2022300.748411.338
WF00/IP736039/1/2022300.748411.338
WF00/IP7360310/1/2022300.748411.338
WF00/IP7360311/1/2022300.748411.338

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.