Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I am using MDX query designer in PowerPivot to drag the data as well as to create calculated columns.
I want to combine two fields : one shows one side of accounting account, another oposit side of accounting account Measure name is "Amount" - PROBLEM IS THAT IT RETURNS THE VALUES AS TEXT AND POWER PIVOT DOES NOT ALLOW TO CONVERT IT IN DATA MODEL.
Below my query:
WITH MEMBER [Measures].[Amount] AS [Measures].[Obroty WN].Value - [Obroty MA].Value, SELECT NON EMPTY {[Measures].[Amount], [Measures].[Kwota] } ON COLUMNS, NON EMPTY { ([Data].[Data finansowa].[Data].ALLMEMBERS * [Wymiar 04].[Kod wymiaru 04].[Kod wymiaru 04].ALLMEMBERS * [Wymiar 04].[Nazwa wymiaru 04].[Nazwa wymiaru 04].ALLMEMBERS * [MPK].[Struktura raportowa MPK].[Poziom 01].ALLMEMBERS * [Wymiar 02].[Nazwa wymiaru 02].[Nazwa wymiaru 02].ALLMEMBERS * [Wymiar 02].[Kod wymiaru 02].[Kod wymiaru 02].ALLMEMBERS * [Wymiar 05].[Kod wymiaru 05].[Kod wymiaru 05].ALLMEMBERS * [Wymiar 05].[Nazwa wymiaru 05].[Nazwa wymiaru 05].ALLMEMBERS * [Wymiar 06].[Kod wymiaru 06].[Kod wymiaru 06].ALLMEMBERS * [Wymiar 06].[Nazwa wymiaru 06].[Nazwa wymiaru 06].ALLMEMBERS * [Wymiar 07].[Kod wymiaru 07].[Kod wymiaru 07].ALLMEMBERS * [Wymiar 07].[Nazwa wymiaru 07].[Nazwa wymiaru 07].ALLMEMBERS * [Wymiar 08].[Kod wymiaru 08].[Kod wymiaru 08].ALLMEMBERS * [Wymiar 08].[Nazwa wymiaru 08].[Nazwa wymiaru 08].ALLMEMBERS * [Konto].[Konta wg numerów].[Syntetyka].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [FK] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
Thanks in advance
Tommy
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 9 | |
| 8 |