Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
Here is my data :
Name | Phase | Statuts |
Extract 2D plans | APS | High |
Extract 2D plans | EXE | Medium |
Extract 2D plans | LIV | Low |
Other Function | APS | Medium |
Other Function | EXE | Low |
Other Function | LIV | High |
And I want to have this :
Name | APS | EXE | LIV |
Extract 2D plans | High | Medium | Low |
Other Function | Medium | Low | High |
I want to do this on PowerBI, without using Power Query (because I have a lot of operations done in Power BI before)
This is for making a Sankey diagram : Source APS and Destination EXE then Source EXE and Destination LIV
If there is any others solutions (differents data agency or methods), I'm in !
Thanks
Solved! Go to Solution.
Hi @Soizle,
You can try measure as:
Measure =
CALCULATE(
MAX('Table'[Statuts]),
FILTER(
'Table',
'Table'[Phase]=MAX('Table'[Phase])
)
)
And drop fields to matrix.
The pbix is attached.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi @Soizle
You can create measures as:
APS =
CALCULATE(
MAX('Table'[Statuts]),
FILTER(
'Table',
'Table'[Phase]="APS"
)
)
EXE =
CALCULATE(
MAX('Table'[Statuts]),
FILTER(
'Table',
'Table'[Phase]="EXE"
)
)
LIV =
CALCULATE(
MAX('Table'[Statuts]),
FILTER(
'Table',
'Table'[Phase]="LIV"
)
)
Here is the output:
The pbix is attached.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Hi and thanks.
In fact I'm looking for doing this in only one automated request beacause I have several types. Is that possible ?
Hi @Soizle,
You can try measure as:
Measure =
CALCULATE(
MAX('Table'[Statuts]),
FILTER(
'Table',
'Table'[Phase]=MAX('Table'[Phase])
)
)
And drop fields to matrix.
The pbix is attached.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Is it possible to convert this mesure into a table?
I tried with CALCULATETABLE but the parameters are not correct
Thanks
Hi @diegomartinop,
Table does not support your expectations under the conditions of using a query.
I'm not clear your issue, could you provide more details?
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
@v-xulin-mstf actually I would like to do the same thing that was presented by @Soizle but I need to see the data as a table because the diagram I want to use does not accept mesure in the axis