Forum Discussion
hi
- 2 years ago
PBI file attached.
Hope this helps.
not used DAX, I did the data transform in PQ, open PQ and see the steps
Hi ryan_mayu ,
I am not cleared actually about how you bring table 2 and table 3 in power query eitor
We need to work on following table
| C_ID | C_PHONE | B_POINT |
| 16015 | 161622020 | 151.2176 |
| 60154 | 161622020 | 744.0992 |
| 60021 | 131619522 | 61.9386 |
| 60121 | 131619522 | 3452.1312 |
| 92432 | 132281355 | 50.1 |
| 92502 | 132281355 | 0 |
| 90174 | 132281355 | 619.3274 |
| 60156 | 140400500 | 664.8464 |
| 16015 | 140400500 | 0 |
| 13003 | 140400500 | 0 |
and expected result would be as i have given.
I dont know about table 2 and table 3 comes where from
- Anonymous2 years agoNot applicable
Hi ryan_mayu ,Thank you for your quick reply, you are absolutely correct! I additionally thought of another method.
Hi abc_777 ,
The table data are as follows:
Please follow these steps:
1. Use the following DAX expression to create a column named ‘Min’ in ‘Tabelle1’Min = IF(CALCULATE(MIN('Tabelle1'[B_POINT]),ALLEXCEPT(Tabelle1,'Tabelle1'[C_PHONE])) = 'Tabelle1'[B_POINT],"YES","NO")2. Use the following DAX expression to create a table named ‘Table’
Table = SUMMARIZE('Tabelle1',[C_PHONE],"B_POINT",MAX('Tabelle1'[B_POINT]))3. Use the following DAX expression to create a table named ‘Table2’
Table 2 = FILTER('Tabelle1','Tabelle1'[Min] = "Yes")4. Fianl output
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- abc_7772 years ago
Solution Specialist
Hello Anonymous and Ashish_Mathur ,
yes DAX Query,
i have excel file attahced here. if some one can help me out using excel file
thanks
https://drive.google.com/drive/u/1/folders/1_6SrAlvmKRDgTLdPWfbUshk9h_tVBl20
- Ashish_Mathur2 years ago
Super User
PBI file attached. Remove the spaces from the last 2 numeric columns of your Excel file.
Hope this helps.