March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
Need help with a report. I have a table with sales per customer with NAME, DATE, QTY. and $ columns. With this data I build measures ACTUAL QTY, LAST MONTH QTY, ACTUAL $ and LAST MONTH $.
With this table I build the measure TYPE
TYPE = IF([VOL. LAST MONTH] = BLANK() && [VOL. ACTUAL] = BLANK(); BLANK();
IF([VOL. LAST MONTH] = 0 || [VOL. ACTUAL] = 0; "MIX";
IF([VOL. LAST MONTH] <> BLANK() && [VOL. ACTUAL] <> BLANK() && [Δ VOL.] <> 0 && [$ LAST MONTH] = [$ ACTUAL]; "VOLUME";
IF([$ LAST MONTH] <> BLANK() && [$ ACTUAL] <> BLANK() && [Δ $] <> 0 && [VOL. LAST MONTH] = [VOL. ACTUAL]; "PREÇO";
IF([VOL. LAST MONTH] <> BLANK() && [VOL. ACTUAL] <> BLANK() && [Δ VOL.] <> 0 && [$ LAST MONTH] <> [$ ACTUAL]; "VOLUME E PREÇO";
IF([Δ VOL.] = 0 && [Δ $] = 0; "MESMO VOL. E R$/L"; "ERRO"))))))
What I need to build is a summarized table with values of Δ $ and Δ VOL. by TYPE.
But I get only one type with total values
Is someone able to help me?
Thanks in advance
Hi @Anonymous,
What I need to build is a summarized table with values of Δ $ and Δ VOL. by TYPE.
But I get only one type with total values
By my test, I cannot reproduce your scenario because I don't know the measures you created.
You could have a reference of SUMMARIZE Function (DAX) first.
If you still need help, could you share a dummy pbix file which can reproduce the scenario and your expected output, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |