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.
I have target table which has itemid and target for future month I want to shwo sales and target graph or report , if sales not present then target will show I have month table, year and calendar table also. Sales coming from Transaction table Tras(sales) when i am putting normal target from target table and item from item table and sales from sales table then future target not coming relation is = Date with transaction date table, item with transaction item table , month table join with project date table, year with project year table date year with year table and month year with month table
Solved! Go to Solution.
Hi, @bilalkhokar73 ;
Through your description and the .pbix of your last post, you could create two measures as follows:
Amnt2 = CALCULATE(SUM([Amnt]),FILTER('sales',YEAR([date])=MAX('year'[year_code])&&MONTH([date])=MAX('month'[mont_code])))
Target2 = CALCULATE(SUM([Target]),FILTER('target',[Prjt_year]=MAX('year'[year_code])&&[Month]=MAX('month'[mont_code])))
The final output is shown below:
If I understand wrong, please correct me in time and provide more details.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @bilalkhokar73 ;
Through your description and the .pbix of your last post, you could create two measures as follows:
Amnt2 = CALCULATE(SUM([Amnt]),FILTER('sales',YEAR([date])=MAX('year'[year_code])&&MONTH([date])=MAX('month'[mont_code])))
Target2 = CALCULATE(SUM([Target]),FILTER('target',[Prjt_year]=MAX('year'[year_code])&&[Month]=MAX('month'[mont_code])))
The final output is shown below:
If I understand wrong, please correct me in time and provide more details.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.