help measure
3 TopicsHow to calculate the difference between two rows of a single column in power BI
Hi, How to calculate the difference between buy and sell of a salesvalues coulmn based on country by converting to rows to column of buy_sell column . Input: Country category buy_sell salesvalues India A buy Null India A sell -75,500.00 USA B buy -60,095 USA B sell 70,901 AUS C buy 29,923 AUS C sell -3,260,307 AUS D buy -60,750.00 AUS D sell -1500 USA E buy 10 USA E sell 20 USA F buy -20000 USA F sell Null Expected Output: Thanks, SBCSolved1.1KViews0likes3Comments% of GRAND TOTAL, KEEPFILTERS on Year
Hello, I have the following fact table. FactTable Question AnswerOptions UserAnswerCount Year Custom column or measure What's your favorite city Tokyo 12511 2021 21% What's your favorite city Tokyo 5922 2022 20% What's your favorite city Novosibirsk 13335 2021 23% What's your favorite city Novosibirsk 6669 2022 23% What's your favorite city Shenzhen 4492 2021 8% What's your favorite city Shenzhen 2722 2022 9% What's your favorite city Kampala 6590 2021 11% What's your favorite city Kampala 3094 2022 11% What's your favorite city Minsk 3116 2021 5% What's your favorite city Minsk 1393 2022 5% What's your favorite city Douala 4167 2021 7% What's your favorite city Douala 1959 2022 7% What's your favorite city Other 2612 2021 4% What's your favorite city Other 2008 2022 7% What's your favorite city Wenzhou 11941 2021 20% What's your favorite city Wenzhou 5502 2022 19% Could someone help me to write a DAX query for custom column or measure, that computes % of grand total based on UserAnswerCount for each year? Thanks in advance!Solved1.4KViews0likes5CommentsDAX mesaure : calculation of a value according to a measure
Hello everyone, Today I am asking you about a DAX measure. Indeed, for the calculation of a measure I need a variable. This variable is the turbidity value when the trubidity frequency in% between 0.20% and 0.21%: The frequency calculation is a measure, here is the code: Here is the code for the turbidity measurement: What is the formula to fill in for the calculation of this variable please? Thanks in advance, JoelSolved1.6KViews0likes6Comments