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.
Hi,
I created measure to get min of 2 columns, Total is not coming correct. Then I use HASONEFILTER but it giving error.
my data and measure as below:
Min of Dec and Jan= if(HASONEFILTER(Table[Customer]),min([Dec Sales],[Jan Sales]),CALCULATE(sumx(V_Cust_Aging, MIN([Dec Sales],[Jan Sales])))) |
Company | Customer | Dec Sales | Jan Sales | Min of Dec and Jan |
1001 | 1234 | 200 | 50 | 50 |
1001 | 1235 | 300 | 700 | 300 |
1002 | 1111 | 250 | 1000 | 250 |
750 | 1750 | 750 |
Kindly help
Regards
Samar
Why not just do something like Smaller = if([DecSales]<[JanSales],[DecSales],[JanSales])?
Hi,
Thanks for reply, I did it but the total is not coming correct. It is giving some of December Sales.
Regards
Samar
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.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
46 | |
39 | |
19 | |
19 |